From fa57a7684e9d4592aac06057fb2de14ccd0df38a Mon Sep 17 00:00:00 2001 From: James Moger Date: Thu, 30 Oct 2014 09:59:05 -0400 Subject: Allow manual registration of type adapters --- src/main/java/com/iciql/TableDefinition.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/iciql/TableDefinition.java') 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 { 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(); } -- cgit v1.2.3