oracle.jdbc.driver
Class OracleSavepoint

java.lang.Object
  |
  +--oracle.jdbc.driver.OracleSavepoint

public class OracleSavepoint
extends java.lang.Object
implements OracleSavepoint

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


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
 

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