summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/PGStatement.java
blob: a226246a81d197d141275a71d1d222ad6f8aa894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.postgresql;


import java.sql.*;

/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/Attic/PGStatement.java,v 1.4 2002/09/02 03:07:36 barry Exp $
 * This interface defines PostgreSQL extentions to the java.sql.Statement interface.
 * Any java.sql.Statement object returned by the driver will also implement this 
 * interface
 */
public interface PGStatement
{

	/*
	 * Returns the Last inserted/updated oid. 
	 * @return OID of last insert
         * @since 7.3
	 */
        public long getLastOID() throws SQLException;

        public void setUseServerPrepare(boolean flag);

        public boolean isUseServerPrepare();

}