diff options
| author | Barry Lind <barry@xythos.com> | 2003-02-04 09:20:12 +0000 |
|---|---|---|
| committer | Barry Lind <barry@xythos.com> | 2003-02-04 09:20:12 +0000 |
| commit | 16a30346c86590fbdcd83cacd2a0a9dbd2cd00dc (patch) | |
| tree | a555d2560764362bf58c0081187607c9094e1510 /src/interfaces/jdbc/org/postgresql/jdbc1/Jdbc1Connection.java | |
| parent | 2d1f94054259d3237e678d89ca9e57305a6a3997 (diff) | |
| download | postgresql-16a30346c86590fbdcd83cacd2a0a9dbd2cd00dc.tar.gz | |
Patch from Nic Ferrier to add support for result sets being cursor based
so that rows can be fetched incrementally. This is enabled by using
setFetchSize()
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/jdbc1/Jdbc1Connection.java')
| -rw-r--r-- | src/interfaces/jdbc/org/postgresql/jdbc1/Jdbc1Connection.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc1/Jdbc1Connection.java b/src/interfaces/jdbc/org/postgresql/jdbc1/Jdbc1Connection.java index 3ddb071008..9ee64f7db4 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc1/Jdbc1Connection.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc1/Jdbc1Connection.java @@ -6,7 +6,7 @@ import java.sql.*; import org.postgresql.Field; import org.postgresql.util.PSQLException; -/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/Jdbc1Connection.java,v 1.5 2002/09/06 21:23:06 momjian Exp $ +/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/Jdbc1Connection.java,v 1.6 2003/02/04 09:20:10 barry Exp $ * This class implements the java.sql.Connection interface for JDBC1. * However most of the implementation is really done in * org.postgresql.jdbc1.AbstractJdbc1Connection @@ -36,16 +36,6 @@ public class Jdbc1Connection extends org.postgresql.jdbc1.AbstractJdbc1Connectio return metadata; } - public java.sql.ResultSet getResultSet(java.sql.Statement stat, Field[] fields, Vector tuples, String status, int updateCount, long insertOID, boolean binaryCursor) throws SQLException - { - return new Jdbc1ResultSet(this, stat, fields, tuples, status, updateCount, insertOID, binaryCursor); - } - - public java.sql.ResultSet getResultSet(java.sql.Statement stat, Field[] fields, Vector tuples, String status, int updateCount) throws SQLException - { - return new Jdbc1ResultSet(this, stat, fields, tuples, status, updateCount, 0, false); - } - } |
