public interface ContainerTransactionManager extends TransactionManager
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Start a transaction on the managed data source
|
void |
commit()
If there is an active transaction commit it.
|
boolean |
isRollbackOnly()
True, if the transaction manager was marked for rollback only for the currently active transaction
|
void |
rollback()
If there is an active transaction roll it back.
|
isActive, setRollbackOnlyvoid begin()
void commit()
TransactionRequiredException - if there is no active transactionRollbackException - if the transaction has been rolled backvoid rollback()
TransactionRequiredException - if there is no active transactionboolean isRollbackOnly()
TransactionManager.setRollbackOnly() was called for the transaction, false otherwiseCopyright © 2020 SAP. All rights reserved.