diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2017-12-19 04:59:39 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2017-12-19 04:59:39 +0000 |
commit | 4fb8409266a5b586c1240282014dc31b53cfb31b (patch) | |
tree | fc8d01249f6ce24ebc492712b5be91f300487bb4 /src/main/java/com/healthmarketscience/jackcess/impl/PropertyMapImpl.java | |
parent | c3164b36d5dc541046c3e0f87bf93e221f6752a1 (diff) | |
download | jackcess-4fb8409266a5b586c1240282014dc31b53cfb31b.tar.gz jackcess-4fb8409266a5b586c1240282014dc31b53cfb31b.zip |
Add full support for access 2016 databases including the new 'Large Number' (aka Bigint) data type. Fixes feature #37
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1130 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/main/java/com/healthmarketscience/jackcess/impl/PropertyMapImpl.java')
-rw-r--r-- | src/main/java/com/healthmarketscience/jackcess/impl/PropertyMapImpl.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/PropertyMapImpl.java b/src/main/java/com/healthmarketscience/jackcess/impl/PropertyMapImpl.java index 619da07..9ec5fca 100644 --- a/src/main/java/com/healthmarketscience/jackcess/impl/PropertyMapImpl.java +++ b/src/main/java/com/healthmarketscience/jackcess/impl/PropertyMapImpl.java @@ -204,6 +204,8 @@ public class PropertyMapImpl implements PropertyMap type = DataType.SHORT_DATE_TIME; } else if(value instanceof byte[]) { type = DataType.OLE; + } else if(value instanceof Long) { + type = DataType.BIG_INT; } else { throw new IllegalArgumentException( "Could not determine type for property " + name + |