T
- the return type of this work.TransactionCallback
.@Deprecated public interface TransactionWork<T>
Transaction
. To be used with Session.readTransaction(TransactionWork)
and Session.writeTransaction(TransactionWork)
methods.Modifier and Type | Method and Description |
---|---|
T |
execute(Transaction tx)
Deprecated.
Executes all given operations against the same transaction.
|
T execute(Transaction tx)
tx
- the transaction to use.null
if none.