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/Jdbc2PreparedStatement.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/Jdbc2PreparedStatement.java')
| -rw-r--r-- | src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2PreparedStatement.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2PreparedStatement.java b/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2PreparedStatement.java index 15fd8d9a75..79f83d6a6b 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2PreparedStatement.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2PreparedStatement.java @@ -11,5 +11,9 @@ public class Jdbc2PreparedStatement extends org.postgresql.jdbc2.AbstractJdbc2St super(connection, sql); } + public java.sql.ResultSet createResultSet (org.postgresql.Field[] fields, java.util.Vector tuples, String status, int updateCount, long insertOID, boolean binaryCursor) throws SQLException + { + return new Jdbc2ResultSet(this, fields, tuples, status, updateCount, insertOID, binaryCursor); + } } |
