File tree 1 file changed +5
-1
lines changed
src/interfaces/jdbc/org/postgresql/jdbc1
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 9
9
* Copyright (c) 2003, PostgreSQL Global Development Group
10
10
*
11
11
* IDENTIFICATION
12
- * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1ResultSet.java,v 1.13 2003/06/30 21:10:55 davec Exp $
12
+ * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1ResultSet.java,v 1.14 2003/08/06 05:53:13 barry Exp $
13
13
*
14
14
*-------------------------------------------------------------------------
15
15
*/
@@ -131,6 +131,10 @@ public boolean next() throws SQLException
131
131
String [] binds = new String [0 ];
132
132
// Is this the correct query???
133
133
String cursorName = statement .getStatementName ();
134
+ //if cursorName is null, we are not batching (likely because the
135
+ //query itself can't be batched)
136
+ if (cursorName == null )
137
+ return false ;
134
138
sql [0 ] = "FETCH FORWARD " + fetchSize + " FROM " + cursorName ;
135
139
QueryExecutor .execute (sql ,
136
140
binds ,
You can’t perform that action at this time.
0 commit comments