diff options
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: |