Uses of Class
Transaction Control Service Package Version 1.0.
Modifier and TypeClassDescription
classAn Exception indicating that the active transaction was unexpectedly rolled backModifier and TypeMethodDescription
commit()Commit the resourceGet a resource which will associate with the current transaction context when used
<T> TThe supplied piece of work must be run outside the context of a transaction.
<T> TA transaction is required to run the supplied piece of work.
<T> TA new transaction is required to run the supplied piece of work.
rollback()Roll back the resource
<T> TThe supplied piece of work may run inside or outside the context of a transaction.