diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2008-10-23 03:06:34 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2008-10-23 03:06:34 +0000 |
commit | 130789d1f0a997288c13a6df763a453641545cc9 (patch) | |
tree | 82ded4c613d78316b04c79d0d110e4ba49807477 /src/java/com/healthmarketscience/jackcess/Column.java | |
parent | 30b338ad938fcbce23cf951a00326d9cfa9d2b9d (diff) | |
download | jackcess-130789d1f0a997288c13a6df763a453641545cc9.tar.gz jackcess-130789d1f0a997288c13a6df763a453641545cc9.zip |
Add Database.getSystemTable method for accessing system tables
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@380 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/Column.java')
-rw-r--r-- | src/java/com/healthmarketscience/jackcess/Column.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/Column.java b/src/java/com/healthmarketscience/jackcess/Column.java index 570d104..c27a699 100644 --- a/src/java/com/healthmarketscience/jackcess/Column.java +++ b/src/java/com/healthmarketscience/jackcess/Column.java @@ -430,8 +430,10 @@ public class Column implements Comparable<Column> { return readNumericValue(buffer); } else if (_type == DataType.GUID) { return readGUIDValue(buffer); - } else if (_type == DataType.UNKNOWN_0D) { - return null; + } else if ((_type == DataType.UNKNOWN_0D) || + (_type == DataType.UNKNOWN_11)) { + // treat like "binary" data + return data; } else { throw new IOException("Unrecognized data type: " + _type); } @@ -973,6 +975,7 @@ public class Column implements Comparable<Column> { break; case BINARY: + case UNKNOWN_0D: // should already be "encoded" break; default: |