Package | Description |
---|---|
org.wamblee.test.persistence |
This package provides test library for database testing in general and JPA testing
specifically.
|
org.wamblee.test.transactions |
This package provides basic support utilities for testing with transactions.
|
Modifier and Type | Method and Description |
---|---|
TransactionResult |
JpaBuilder.commit(javax.persistence.EntityManager aEntityManager) |
TransactionResult |
JpaBuilder.rollback(javax.persistence.EntityManager aEntityManager) |
Modifier and Type | Method and Description |
---|---|
void |
TransactionResultCallback.status(TransactionResult aResult)
Result notification.
|
void |
RequireTransactionStatus.status(TransactionResult aResult) |
void |
LoggingTransactionResultCallback.status(TransactionResult aResult) |
Constructor and Description |
---|
RequireTransactionStatus(TransactionResult aResult)
Constructs the callback.
|
Modifier and Type | Method and Description |
---|---|
TransactionResult |
TransactionResource.commit(T aT)
Commits the transaction.
|
TransactionResult |
TransactionResource.rollback(T aT)
Rolls back a transaction.
|
static TransactionResult |
TransactionResult.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionResult[] |
TransactionResult.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2022. All rights reserved.