~ubuntu-branches/ubuntu/gutsy/libpgjava/gutsy

« back to all changes in this revision

Viewing changes to src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2CallableStatement.java

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2005-04-21 14:25:11 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050421142511-wibh5vc31fkrorx7
Tags: 7.4.7-3
Built with sources...

Show diffs side-by-side

added added

removed removed

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