Interface Transaction
- All Known Implementing Classes:
ExternalTransaction,JdbcTransaction,JtaTransaction,UserProvidedTransaction
public interface Transaction
The Interface Transaction.
-
Method Details
-
commit
Commit.- Throws:
SQLException- the SQL exceptionTransactionException- the transaction exception
-
rollback
Rollback.- Throws:
SQLException- the SQL exceptionTransactionException- the transaction exception
-
close
Close.- Throws:
SQLException- the SQL exceptionTransactionException- the transaction exception
-
getConnection
Gets the connection.- Returns:
- the connection
- Throws:
SQLException- the SQL exceptionTransactionException- the transaction exception
-