public interface TransactionAccessor
Modifier and Type | Method and Description |
---|---|
void |
checkTransactionRunning()
Checks that the transaction is running.
|
void |
closeTransaction()
Closes the current transaction.
|
UserTransaction |
getUserTransaction()
Returns the current transaction.
|
boolean |
isTransactionRunning()
Returns true if a transaction is running.
|
void |
startTransaction()
Starts a transaction, if there is none yet.
|
UserTransaction getUserTransaction()
void startTransaction()
void closeTransaction()
boolean isTransactionRunning()
void checkTransactionRunning()
IllegalStateException
- if the transaction is not running.Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.