public interface TransactionManager
| Modifier and Type | Method and Description |
|---|---|
<T> T |
performInTransaction(TransactionalOperation<T> op)
Starts a new transaction (or joins an existing one) calling
TransactionalOperation.perform(), and then
committing or rolling back the transaction. |
<T> T performInTransaction(TransactionalOperation<T> op)
TransactionalOperation.perform(), and then
committing or rolling back the transaction. Frees the userCopyright © 2001–2015 Apache Cayenne. All rights reserved.