summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2010-08-12 15:34:18 -0700
committerShawn O. Pearce <sop@google.com>2010-08-12 15:36:00 -0700
commit24a798ca39d5c4fd79a52622422a5ec788154bf4 (patch)
treeff525146ed17a79229a2440112ff56d0d14d4966
parent81876760c2d9c0a128b1498ddf6e1b32563bf75e (diff)
downloadgwtorm-24a798ca39d5c4fd79a52622422a5ec788154bf4.tar.gz
Fix getBySqlIn in generated code
We changed the signature of the method, but didn't update all of the callers that use queryList(). Change-Id: Id7d007e489d29f43da1eac645e49a118b46f4be8 Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r--src/main/java/com/google/gwtorm/jdbc/AccessGen.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/google/gwtorm/jdbc/AccessGen.java b/src/main/java/com/google/gwtorm/jdbc/AccessGen.java
index ede59a0..5971198 100644
--- a/src/main/java/com/google/gwtorm/jdbc/AccessGen.java
+++ b/src/main/java/com/google/gwtorm/jdbc/AccessGen.java
@@ -17,7 +17,6 @@ package com.google.gwtorm.jdbc;
import com.google.gwtorm.client.Access;
import com.google.gwtorm.client.Key;
import com.google.gwtorm.client.OrmException;
-import com.google.gwtorm.client.impl.ListResultSet;
import com.google.gwtorm.schema.ColumnModel;
import com.google.gwtorm.schema.KeyModel;
import com.google.gwtorm.schema.QueryModel;
@@ -658,7 +657,7 @@ class AccessGen implements Opcodes {
mv.visitVarInsn(ALOAD, 0);
mv.visitVarInsn(ALOAD, psvar);
mv.visitMethodInsn(INVOKEVIRTUAL, superTypeName, "queryList", Type
- .getMethodDescriptor(Type.getType(ListResultSet.class),
+ .getMethodDescriptor(Type.getType(com.google.gwtorm.client.ResultSet.class),
new Type[] {Type.getType(PreparedStatement.class)}));
mv.visitInsn(ARETURN);
mv.visitMaxs(-1, -1);