@FunctionalInterface public interface ContextTransactionalCallable<T>
FunctionalInterfacethat wraps transactional code.
This callable may depend on captured scope ("context") in order to discover a
Configuration to be used to create new SQL statements.
Clients are responsible to implement such context state in appropriate
T run() throws java.lang.Throwable
If this method completes normally, and this is not a nested transaction,
then the transaction will be committed. If this method completes with an
exception, then the transaction is rolled back to the beginning of this
java.lang.Throwable- Any exception that will cause a rollback of the code contained in this transaction. If this is a nested transaction, the rollback may be performed only to the state before executing this
Copyright © 2018. All Rights Reserved.