Top Description Methods
org.hibernate.resource.transaction.backend.jta.internal

public Interface JtaTransactionAdapter

Known Direct Implementers
org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionAdapterTransactionManagerImpl, org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionAdapterUserTransactionImpl
Imports
org.hibernate.resource.transaction.spi.TransactionStatus

Adapter for abstracting the physical means of interacting with JTA transactions.

JTA transactions can concretely be interacted with through javax.transaction.UserTransaction or javax.transaction.Transaction depending on environment and situation. This adapter hides this difference.

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
begin()

Call begin on the underlying transaction object

public void
commit()

Call commit on the underlying transaction object

public TransactionStatus
public void
public void
rollback()

Call rollback on the underlying transaction object

public void
setTimeOut(int seconds)

Method Detail

beginback to summary
public void begin()

Call begin on the underlying transaction object

commitback to summary
public void commit()

Call commit on the underlying transaction object

getStatusback to summary
public TransactionStatus getStatus()
markRollbackOnlyback to summary
public void markRollbackOnly()
rollbackback to summary
public void rollback()

Call rollback on the underlying transaction object

setTimeOutback to summary
public void setTimeOut(int seconds)