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

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

Introduction

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

The text is from its open source code.

Method

voidbegin()
Create a new transaction and associate it with the current thread.
voidcommit()
Complete the transaction associated with the current thread.
ClassgetClass()
Returns the runtime class of this Object .
intgetStatus()
Obtain the status of the transaction associated with the current thread.
TransactiongetTransaction()
Get the transaction object that represents the transaction context of the calling thread.
inthashCode()
Returns a hash code value for the object.
voidresume(Transaction tobj)
Resume the transaction context association of the calling thread with the transaction represented by the supplied Transaction object.
voidrollback()
Roll back the transaction associated with the current thread.
voidsetRollbackOnly()
Modify the transaction associated with the current thread such that the only possible outcome of the transaction is to roll back the transaction.
voidsetTransactionTimeout(int seconds)
Modify the timeout value that is associated with transactions started by the current thread with the begin method.
Transactionsuspend()
Suspend the transaction currently associated with the calling thread and return a Transaction object that represents the transaction context being suspended.