summaryrefslogtreecommitdiffstats
path: root/src/com/iciql/TableInspector.java
diff options
context:
space:
mode:
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