summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/PGStatement.java
blob: 44de822207495bc7e79ef9fbf4ff5e07d29909b0 (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.6 2002/09/08 00:15:28 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) throws SQLException;

	public boolean isUseServerPrepare();

}