public interface Transaction extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
TransactionState |
getStatus() |
void |
rollback() |
TransactionState getStatus()
void commit()
throws TransactionException
TransactionExceptionvoid rollback()
throws TransactionException
TransactionExceptionvoid close()
throws TransactionException
close in interface AutoCloseableTransactionExceptionCopyright © 2015. All rights reserved.