com.ibatis.sqlmap.engine.transaction.user
Class UserProvidedTransaction
java.lang.Object
com.ibatis.sqlmap.engine.transaction.user.UserProvidedTransaction
- All Implemented Interfaces:
- Transaction
- public class UserProvidedTransaction
- extends java.lang.Object
- implements Transaction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserProvidedTransaction
public UserProvidedTransaction(java.sql.Connection connection)
commit
public void commit()
throws java.sql.SQLException,
TransactionException
- Specified by:
commit
in interface Transaction
- Throws:
java.sql.SQLException
TransactionException
rollback
public void rollback()
throws java.sql.SQLException,
TransactionException
- Specified by:
rollback
in interface Transaction
- Throws:
java.sql.SQLException
TransactionException
close
public void close()
throws java.sql.SQLException,
TransactionException
- Specified by:
close
in interface Transaction
- Throws:
java.sql.SQLException
TransactionException
getConnection
public java.sql.Connection getConnection()
throws java.sql.SQLException,
TransactionException
- Specified by:
getConnection
in interface Transaction
- Throws:
java.sql.SQLException
TransactionException