Package com.sap.cds.transaction
Interface TransactionManager
- All Known Subinterfaces:
ContainerTransactionManager
public interface TransactionManager
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive()Checks if there is an active transaction associated with the current threadvoidIf the current thread is associated with an active transaction it is set in rollback only mode
-
Method Details
-
isActive
boolean isActive()Checks if there is an active transaction associated with the current thread- Returns:
trueif there is an active transaction;falseotherwise
-
setRollbackOnly
void setRollbackOnly()If the current thread is associated with an active transaction it is set in rollback only mode
-