Java javax.transaction Transaction fields, constructors, methods, implement or subclass

Example usage for Java javax.transaction Transaction fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.transaction Transaction.

The text is from its open source code.

Implementation

javax.transaction.Transaction has the following implementations.
Click this link to see all its implementation.

Method

voidcommit()
Complete the transaction represented by this Transaction object.
booleandelistResource(XAResource xaRes, int flag)
Disassociate the resource specified from the transaction associated with the target Transaction object.
booleanenlistResource(XAResource xaRes)
Enlist the resource specified with the transaction associated with the target Transaction object.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
intgetStatus()
Obtain the status of the transaction associated with the target Transaction object.
inthashCode()
Returns a hash code value for the object.
voidregisterSynchronization(Synchronization sync)
Register a synchronization object for the transaction currently associated with the target object.
voidrollback()
Rollback the transaction represented by this Transaction object.
voidsetRollbackOnly()
Modify the transaction associated with the target object such that the only possible outcome of the transaction is to roll back the transaction.