Package com.sap.cds.transaction
Interface TransactionManager
- All Known Subinterfaces:
ContainerTransactionManager
public interface TransactionManager
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isActive()
Checks if there is an active transaction associated with the current threadvoid
If 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:
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
-