Package org.wamblee.test.transactions

This package provides basic support utilities for testing with transactions.

See:
          Description

Interface Summary
TransactionResource<T> Interfaces to be implemented by resources that want to participate in transactions managed through SimpleTransactionManager.
UserTransactionCallback  
UserTransactionFactory Factory used to create transactions.
 

Class Summary
DefaultUserTransactionFactory Transaction factory implementation that creates SimpleUserTransaction objects.
SimpleTransactionManager Simple transaction manager provides a simple mechanism to manage transactions in test code through the UserTransaction object.
SimpleUserTransaction Represents a user transaction spanning a number of resources.
TransactionProxyFactory<T> This utility makes sure that each invocation on a certain interface is carried out within a JPA unit of work.
 

Enum Summary
TransactionResult Transaction result.
 

Package org.wamblee.test.transactions Description

This package provides basic support utilities for testing with transactions. Depending on the test setup different methods can be used on top of the basic support for transactions with JpaBuilder. These are:



Copyright © 2021. All Rights Reserved.