summaryrefslogtreecommitdiffstats
path: root/src/java/com/healthmarketscience/jackcess/Column.java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2008-10-23 03:06:34 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2008-10-23 03:06:34 +0000
commit130789d1f0a997288c13a6df763a453641545cc9 (patch)
tree82ded4c613d78316b04c79d0d110e4ba49807477 /src/java/com/healthmarketscience/jackcess/Column.java
parent30b338ad938fcbce23cf951a00326d9cfa9d2b9d (diff)
downloadjackcess-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.java7
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: