diff options
author | James Moger <james.moger@gmail.com> | 2011-08-04 17:58:22 -0400 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2011-08-04 17:58:22 -0400 |
commit | b055a2a49335c78fdc754e38a7e8ab863b2a5515 (patch) | |
tree | 50c1e4bec870701e81e3bbcdde7c90d9a9119f52 /src/com/iciql/TableInspector.java | |
parent | 3d1e36c31e2a8354e03cdfe12565503190c2e957 (diff) | |
download | iciql-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.java | 6 |
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 |