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/jdbc2/Jdbc2Connection.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/jdbc2/Jdbc2Connection.java')
| -rw-r--r-- | src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2Connection.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2Connection.java b/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2Connection.java index 6ebd0850fb..0a7b7bbb75 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2Connection.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2Connection.java @@ -6,7 +6,7 @@ import java.util.Vector; import java.util.Hashtable; import org.postgresql.Field; -/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/Jdbc2Connection.java,v 1.5 2002/09/06 21:23:06 momjian Exp $ +/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/Jdbc2Connection.java,v 1.6 2003/02/04 09:20:10 barry Exp $ * This class implements the java.sql.Connection interface for JDBC2. * However most of the implementation is really done in * org.postgresql.jdbc2.AbstractJdbc2Connection or one of it's parents @@ -46,17 +46,6 @@ public class Jdbc2Connection extends org.postgresql.jdbc2.AbstractJdbc2Connectio return metadata; } - public java.sql.ResultSet getResultSet(Statement statement, Field[] fields, Vector tuples, String status, int updateCount, long insertOID, boolean binaryCursor) throws SQLException - { - return new Jdbc2ResultSet(this, statement, fields, tuples, status, updateCount, insertOID, binaryCursor); - } - - public java.sql.ResultSet getResultSet(Statement statement, Field[] fields, Vector tuples, String status, int updateCount) throws SQLException - { - return new Jdbc2ResultSet(this, statement, fields, tuples, status, updateCount, 0, false); - } - - } |
