- Type Parameters:
T- the return type of this work.
Deprecated.
Callback that executes operations against a given
Transaction. To be used with Session.readTransaction(TransactionWork) and Session.writeTransaction(TransactionWork) methods.-
Method Summary
Modifier and TypeMethodDescriptionexecute(Transaction tx) Deprecated.Executes all given operations against the same transaction.
-
Method Details
-
execute
Deprecated.Executes all given operations against the same transaction.- Parameters:
tx- the transaction to use.- Returns:
- some result object or
nullif none.
-
TransactionCallback.