aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/healthmarketscience/jackcess/impl/PropertyMapImpl.java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2017-12-19 04:59:39 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2017-12-19 04:59:39 +0000
commit4fb8409266a5b586c1240282014dc31b53cfb31b (patch)
treefc8d01249f6ce24ebc492712b5be91f300487bb4 /src/main/java/com/healthmarketscience/jackcess/impl/PropertyMapImpl.java
parentc3164b36d5dc541046c3e0f87bf93e221f6752a1 (diff)
downloadjackcess-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.java2
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 +