Package org.dalesbred.transaction
Transaction management.
-
Interface Summary Interface Description TransactionCallback<T> Callback for executing a block of code within a transaction.TransactionContext Provides transactions with access to the context.TransactionManager Abstract the mechanism in which transactions are handled.VoidTransactionCallback Callback for executing a block of code within a transaction. -
Class Summary Class Description AbstractTransactionManager DefaultTransactionManager Default transaction manager that handles all transactions by itself.SingleConnectionTransactionManager ATransactionManager
that uses single underlyingConnection
.TransactionSettings Contains all the settings that can be configured for individual-transactions. -
Enum Summary Enum Description Isolation Represents the database isolation levels.Propagation Transaction propagation types. -
Exception Summary Exception Description NoActiveTransactionException Exception thrown when performing an operation that requires a transaction without having an active transaction.TransactionRollbackException Exception thrown when transaction rolls back.TransactionSerializationException Exception thrown when database can't achieve desired isolation level due to concurrent updates.