public interface TransactionAdapter
TransactionCallable
Modifier and Type | Method and Description |
---|---|
void |
commit()
This method commits the current transaction without opening a new
transaction.
|
TransactionContext |
getContext()
This method gets the
TransactionContext that allows to add
individual data to be associated with this TransactionAdapter . |
void |
interCommit()
This method
commits the transaction currently active and
opens a new one. |
boolean |
isActive()
This method determines if this context holds an active transaction.
|
void |
rollback()
This method performs a rollback of the current transaction.
|
void interCommit()
commits
the transaction currently active and
opens a new one. You should use this method for (recoverable) batches that
process large sets of data and therefore would overload if everything was
done in one technical transaction.void commit()
callable
but end with a commit rather than a
rollback()
. void rollback()
callable
without
committing
and or throwing an exception. boolean isActive()
commit()
or rollback()
was called
explicitly.true
if there is an active transaction or
false
otherwise.TransactionContext getContext()
TransactionContext
that allows to add
individual data to be associated with this TransactionAdapter
.TransactionContext
.Copyright © 2001–2016 mmm-Team. All rights reserved.