summaryrefslogtreecommitdiffstats
path: root/src/com/iciql/TableInspector.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2011-08-04 17:58:22 -0400
committerJames Moger <james.moger@gmail.com>2011-08-04 17:58:22 -0400
commitb055a2a49335c78fdc754e38a7e8ab863b2a5515 (patch)
tree50c1e4bec870701e81e3bbcdde7c90d9a9119f52 /src/com/iciql/TableInspector.java
parent3d1e36c31e2a8354e03cdfe12565503190c2e957 (diff)
downloadiciql-b055a2a49335c78fdc754e38a7e8ab863b2a5515.tar.gz
iciql-b055a2a49335c78fdc754e38a7e8ab863b2a5515.zip
BLOB support (issue 1) and Enum support (issue 2). Documentation.
Diffstat (limited to 'src/com/iciql/TableInspector.java')
-rw-r--r--src/com/iciql/TableInspector.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/iciql/TableInspector.java b/src/com/iciql/TableInspector.java
index 8e537b4..879e23a 100644
--- a/src/com/iciql/TableInspector.java
+++ b/src/com/iciql/TableInspector.java
@@ -324,8 +324,12 @@ public class TableInspector {
clazz = Object.class;
sb.append("// unsupported type " + col.type);
} else {
+ // Imports
+ // don't import byte []
+ if (!clazz.equals(byte[].class)) {
+ imports.add(clazz.getCanonicalName());
+ }
// @IQColumn
- imports.add(clazz.getCanonicalName());
sb.append('@').append(IQColumn.class.getSimpleName());
// IQColumn annotation parameters