diff options
author | James Moger <james.moger@gmail.com> | 2011-08-05 11:04:29 -0400 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2011-08-05 11:04:29 -0400 |
commit | b865898879f0d0eb1e752b41562b463b0c31c517 (patch) | |
tree | 08c7204795719e9ca554203bb1310c1724c4f205 /src/com/iciql/Query.java | |
parent | a1ab11053107c8995b3f3e850fa14a2374c2013a (diff) | |
download | iciql-b865898879f0d0eb1e752b41562b463b0c31c517.tar.gz iciql-b865898879f0d0eb1e752b41562b463b0c31c517.zip |
Simplified annotations. Interchangeable int-boolean runtime mapping.
Diffstat (limited to 'src/com/iciql/Query.java')
-rw-r--r-- | src/com/iciql/Query.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/iciql/Query.java b/src/com/iciql/Query.java index d9dc84f..0611ffa 100644 --- a/src/com/iciql/Query.java +++ b/src/com/iciql/Query.java @@ -222,6 +222,7 @@ public class Query<T> { try {
X value;
Object o = rs.getObject(1);
+ // Convert CLOB and BLOB now because we close the resultset
if (Clob.class.isAssignableFrom(o.getClass())) {
value = (X) Utils.convert(o, String.class);
} else if (Blob.class.isAssignableFrom(o.getClass())) {
|