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:Transaction
Commit.- Specified by:
commit
in interfaceTransaction
- Throws:
SQLException
- the SQL exceptionTransactionException
- the transaction exception
-
rollback
Description copied from interface:Transaction
Rollback.- Specified by:
rollback
in interfaceTransaction
- Throws:
SQLException
- the SQL exceptionTransactionException
- the transaction exception
-
close
Description copied from interface:Transaction
Close.- Specified by:
close
in interfaceTransaction
- Throws:
SQLException
- the SQL exceptionTransactionException
- the transaction exception
-
getConnection
Description copied from interface:Transaction
Gets the connection.- Specified by:
getConnection
in interfaceTransaction
- Returns:
- the connection
- Throws:
SQLException
- the SQL exceptionTransactionException
- the transaction exception
-