Wednesday 1 October 2014

Savepoint interface

When a transaction is rolled back to a savepoint all changes made after that savepoint are undone.

public interface Savepoint {
    int getSavepointId() throws SQLException;
    String getSavepointName() throws SQLException;
}

int getSavepointId() throws SQLException
Return the numeric ID of this savepoint.

String getSavepointName() throws SQLException
Returns the name of this savepoint.



Prevoius                                                 Next                                                 Home

No comments:

Post a Comment