Oracle10g JDBC

oracle.jdbc.driver
Class OracleSavepoint

java.lang.Object
  extended byoracle.jdbc.driver.OracleSavepoint
All Implemented Interfaces:
OracleSavepoint, java.sql.Savepoint

public class OracleSavepoint
extends java.lang.Object
implements OracleSavepoint

Oracle Savepoint class -- it implements oracle.jdbc.OracleSavepoint


Field Summary
static java.lang.String BUILD_DATE
           
static boolean PRIVATE_TRACE
           
static boolean TRACE
           
 
Method Summary
 int getSavepointId()
          JDBC 3.0 Retrieves the generated ID for the savepoint that this Savepoint object represents.
 java.lang.String getSavepointName()
          JDBC 3.0 Retrieves the name of the savepoint that this Savepoint object represents.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE

public static final boolean TRACE
See Also:
Constant Field Values

PRIVATE_TRACE

public static final boolean PRIVATE_TRACE
See Also:
Constant Field Values

BUILD_DATE

public static final java.lang.String BUILD_DATE
See Also:
Constant Field Values
Method Detail

getSavepointId

public int getSavepointId()
                   throws java.sql.SQLException
JDBC 3.0 Retrieves the generated ID for the savepoint that this Savepoint object represents.

Specified by:
getSavepointId in interface OracleSavepoint
Returns:
the numeric ID of this savepoint
Throws:
java.sql.SQLException - if this is a named savepoint
Since:
9.0.2

getSavepointName

public java.lang.String getSavepointName()
                                  throws java.sql.SQLException
JDBC 3.0 Retrieves the name of the savepoint that this Savepoint object represents.

Specified by:
getSavepointName in interface OracleSavepoint
Returns:
the name of this savepoint
Throws:
java.sql.SQLException - if this is an un-named savepoint
Since:
9.0.2

Oracle10g JDBC

Copyright © 1998,2004, Oracle. All rights reserved