- commit
Commit the transaction. This performs commit and completes the transaction
closing underlying resour
- end
If the transaction is active then perform rollback. Otherwise do nothing.
- getConnection
Return the underlying Connection object. Useful where a Developer wishes to use
the JDBC API directl
- rollback
Rollback the transaction specifying a throwable that caused the rollback to
occur. If you are using
- flush
The batch will be flushing automatically but you can use this to explicitly
flush the batch if you l
- flushBatch
This is a synonym for flush() and will be deprecated. flush() is preferred as it
matches the JPA flu
- isActive
Return true if the transaction is active.
- isSkipCache
Return true if the L2 cache should be skipped. More accurately if true then find
by id and find by n
- register
Register a TransactionCallback with this transaction.
- setBatchMode
Turn on or off use of JDBC statement batching. Calls to save(), delete(),
insert() and execute() all
- setBatchSize
Specify the number of statements before a batch is flushed automatically.
- setRollbackOnly
Mark the transaction for rollback only.