Package org.dalesbred.transaction
Interface TransactionContext
public interface TransactionContext
Provides transactions with access to the context.
-
Method Summary
Modifier and TypeMethodDescription@NotNull Connection
Returns the raw JDBC-connection for this transaction.boolean
void
Requests that this transaction will be rolled back.
-
Method Details
-
getConnection
Returns the raw JDBC-connection for this transaction. -
setRollbackOnly
void setRollbackOnly()Requests that this transaction will be rolled back. -
isRollbackOnly
boolean isRollbackOnly()
-