aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/iciql/Db.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2015-07-21 15:10:05 -0400
committerJames Moger <james.moger@gitblit.com>2015-07-21 15:10:05 -0400
commit83d290a54b3fd43f039bfe60f923737c93b5724e (patch)
tree8f5d6ae1e1b46b2bf84bfd0c5a910f86dee63e90 /src/main/java/com/iciql/Db.java
parentd3695336c7a49c10e084ced59ed19109717bffd5 (diff)
downloadiciql-83d290a54b3fd43f039bfe60f923737c93b5724e.tar.gz
iciql-83d290a54b3fd43f039bfe60f923737c93b5724e.zip
Strip column identifiers from specified column names when mapping JDBC ResultSets to fields
Diffstat (limited to 'src/main/java/com/iciql/Db.java')
-rw-r--r--src/main/java/com/iciql/Db.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/iciql/Db.java b/src/main/java/com/iciql/Db.java
index ef07963..088fc30 100644
--- a/src/main/java/com/iciql/Db.java
+++ b/src/main/java/com/iciql/Db.java
@@ -416,7 +416,7 @@ public class Db implements AutoCloseable {
try {
// SQLite returns pre-closed ResultSets for query results with 0 rows
if (!rs.isClosed()) {
- int[] columns = def.mapColumns(wildcardSelect, rs);
+ int[] columns = def.mapColumns(dialect, wildcardSelect, rs);
while (rs.next()) {
T item = Utils.newObject(modelClass);
def.readRow(dialect, item, rs, columns);