public interface JtaTransactionAdapter
UserTransaction
or Transaction
depending on environment and situation. This adapter hides
this difference.Modifier and Type | Method and Description |
---|---|
void |
begin()
Call begin on the underlying transaction object
|
void |
commit()
Call commit on the underlying transaction object
|
TransactionStatus |
getStatus() |
void |
markRollbackOnly() |
void |
rollback()
Call rollback on the underlying transaction object
|
void |
setTimeOut(int seconds) |
void begin()
void commit()
void rollback()
TransactionStatus getStatus()
void markRollbackOnly()
void setTimeOut(int seconds)
Copyright © 2017 JBoss by Red Hat. All rights reserved.