summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/iciql/TableDefinition.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-10-30 09:59:05 -0400
committerJames Moger <james.moger@gitblit.com>2014-10-30 09:59:05 -0400
commitfa57a7684e9d4592aac06057fb2de14ccd0df38a (patch)
treecf15d7fd963f6d1057385db2c7c3f38fc198dea2 /src/main/java/com/iciql/TableDefinition.java
parentccbdddcf18d892859f9200b2c9285b5cd771d575 (diff)
downloadiciql-fa57a7684e9d4592aac06057fb2de14ccd0df38a.tar.gz
iciql-fa57a7684e9d4592aac06057fb2de14ccd0df38a.zip
Allow manual registration of type adapters
Diffstat (limited to 'src/main/java/com/iciql/TableDefinition.java')
-rw-r--r--src/main/java/com/iciql/TableDefinition.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/iciql/TableDefinition.java b/src/main/java/com/iciql/TableDefinition.java
index 4536695..7857a5a 100644
--- a/src/main/java/com/iciql/TableDefinition.java
+++ b/src/main/java/com/iciql/TableDefinition.java
@@ -534,7 +534,7 @@ public class TableDefinition<T> {
if (col.typeAdapter() != null && col.typeAdapter() != StandardJDBCTypeAdapter.class) {
typeAdapter = col.typeAdapter();
- DataTypeAdapter<?> dtt = db.getDialect().getTypeAdapter(col.typeAdapter());
+ DataTypeAdapter<?> dtt = db.getDialect().getAdapter(col.typeAdapter());
dataType = dtt.getDataType();
}