diff options
Diffstat (limited to 'src/main/java/com/iciql/Query.java')
-rw-r--r-- | src/main/java/com/iciql/Query.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/iciql/Query.java b/src/main/java/com/iciql/Query.java index fd8d021..694f42e 100644 --- a/src/main/java/com/iciql/Query.java +++ b/src/main/java/com/iciql/Query.java @@ -250,7 +250,7 @@ public class Query<T> { try { // SQLite returns pre-closed ResultSets for query results with 0 rows if (!rs.isClosed()) { - int[] columns = def.mapColumns(false, rs); + int[] columns = def.mapColumns(db.getDialect(), false, rs); while (rs.next()) { T item = from.newObject(); def.readRow(db.getDialect(), item, rs, columns); @@ -406,7 +406,7 @@ public class Query<T> { try { // SQLite returns pre-closed ResultSets for query results with 0 rows if (!rs.isClosed()) { - int[] columns = def.mapColumns(false, rs); + int[] columns = def.mapColumns(db.getDialect(), false, rs); while (rs.next()) { X row = Utils.newObject(clazz); def.readRow(db.getDialect(), row, rs, columns); |