Build 1.0_r1(from source)

java.sql
Interface Savepoint


public interface Savepoint

A Savepoint is an instant during the current transaction that can be utilized by a Rollback from the Connection.rollback method. Rolling back to a particular Savepoint means that all changes that occurred after that Savepoint are removed.


Method Summary
 int getSavepointId()
          Returns the constructed ID for this Savepoint.
 String getSavepointName()
          Returns the name for this Savepoint.
 

Method Detail

getSavepointId

int getSavepointId()
                   throws SQLException
Returns the constructed ID for this Savepoint.

Returns:
the ID for this Savepoint.
Throws:
SQLException

getSavepointName

String getSavepointName()
                        throws SQLException
Returns the name for this Savepoint.

Returns:
the name of this Savepoint.
Throws:
SQLException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature