Name

Savepoint

Synopsis

This interface represents a transaction savepoint. Savepoint objects are used in conjunction with the savepoint methods of Connection to rollback transactions to specific points.

public interface Savepoint {
// Public Instance Methods
   public abstract int getSavepointId() throws SQLException;  
   public abstract String getSavepointName(
        ) throws SQLException;  
}

Passed To

java.sql.Connection.{releaseSavepoint(), rollback()}

Returned By

java.sql.Connection.setSavepoint()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.