~ubuntu-branches/ubuntu/maverick/libpgjava/maverick

« back to all changes in this revision

Viewing changes to src/interfaces/jdbc/org/postgresql/jdbc1/Jdbc1PreparedStatement.java

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2006-04-25 00:07:07 UTC
  • mfrom: (1.3.1 upstream) (3.1.1 dapper)
  • Revision ID: james.westby@ubuntu.com-20060425000707-6lr2s0awuz4z48hm
* Drop support for the old jdbc2 driver (can be reverted if wanted)
  (closes: #358345).
* New upstream (thanks to Wolfgang Baer).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.postgresql.jdbc1;
2
 
 
3
 
 
4
 
import java.sql.*;
5
 
import org.postgresql.PGRefCursorResultSet;
6
 
import org.postgresql.core.BaseResultSet;
7
 
import org.postgresql.core.Field;
8
 
 
9
 
public class Jdbc1PreparedStatement extends AbstractJdbc1Statement implements PreparedStatement
10
 
{
11
 
 
12
 
        public Jdbc1PreparedStatement(Jdbc1Connection connection, String sql) throws SQLException
13
 
        {
14
 
                super(connection, sql);
15
 
        }
16
 
 
17
 
        public BaseResultSet createResultSet (Field[] fields, java.util.Vector tuples, String status, int updateCount, long insertOID) throws SQLException
18
 
        {
19
 
                return new Jdbc1ResultSet(this, fields, tuples, status, updateCount, insertOID);
20
 
        }
21
 
 
22
 
        public PGRefCursorResultSet createRefCursorResultSet (String cursorName) throws SQLException
23
 
        {
24
 
                return new Jdbc1RefCursorResultSet(this, cursorName);
25
 
        }
26
 
}