Class UserProvidedTransaction
java.lang.Object
com.ibatis.sqlmap.engine.transaction.user.UserProvidedTransaction
- All Implemented Interfaces:
Transaction
The Class UserProvidedTransaction.
-
Constructor Summary
ConstructorsConstructorDescriptionUserProvidedTransaction(Connection connection) Instantiates a new user provided transaction. -
Method Summary
-
Constructor Details
-
UserProvidedTransaction
Instantiates a new user provided transaction.- Parameters:
connection- the connection
-
-
Method Details
-
commit
Description copied from interface:TransactionCommit.- Specified by:
commitin interfaceTransaction- Throws:
SQLException- the SQL exceptionTransactionException- the transaction exception
-
rollback
Description copied from interface:TransactionRollback.- Specified by:
rollbackin interfaceTransaction- Throws:
SQLException- the SQL exceptionTransactionException- the transaction exception
-
close
Description copied from interface:TransactionClose.- Specified by:
closein interfaceTransaction- Throws:
SQLException- the SQL exceptionTransactionException- the transaction exception
-
getConnection
Description copied from interface:TransactionGets the connection.- Specified by:
getConnectionin interfaceTransaction- Returns:
- the connection
- Throws:
SQLException- the SQL exceptionTransactionException- the transaction exception
-