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

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

Introduction

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

The text is from its open source code.

Implementation

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

Constructor

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.
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.