Package com.sap.cds.transaction
Interface TransactionManager
-
- All Known Subinterfaces:
ContainerTransactionManager
public interface TransactionManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isActive()
Checks if there is an active transaction associated with the current threadvoid
setRollbackOnly()
If the current thread is associated with an active transaction it is set in rollback only mode
-
-
-
Method Detail
-
isActive
boolean isActive()
Checks if there is an active transaction associated with the current thread- Returns:
true
if there is an active transaction;false
otherwise
-
setRollbackOnly
void setRollbackOnly()
If the current thread is associated with an active transaction it is set in rollback only mode
-
-