- Enclosing interface:
EntityConnection
public static interface EntityConnection.Savepoint
A savepoint in the transaction it was set in, valid until rolled back to or released, or until the
transaction ends, see EntityConnection.savepoint().
A token, identifying the savepoint by its id(): one set via a remote connection is set by the
server, the token passed between the two, which is what savepoint(UUID) is for.
-
Method Summary
Modifier and TypeMethodDescriptionid()static EntityConnection.SavepointNote that a savepoint identifies one set by a connection, which refuses any other.
-
Method Details
-
id
UUID id()- Returns:
- the id identifying this savepoint
-
savepoint
Note that a savepoint identifies one set by a connection, which refuses any other.- Parameters:
id- the id- Returns:
- a
EntityConnection.Savepointwith the given id
-