public interface Transaction
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close inner database connection.
|
void |
commit()
Commit inner database connection.
|
Connection |
getConnection()
Retrieve inner database connection
|
void |
rollback()
Rollback inner database connection.
|
Connection getConnection() throws SQLException
SQLExceptionvoid commit()
throws SQLException
SQLExceptionvoid rollback()
throws SQLException
SQLExceptionvoid close()
throws SQLException
SQLExceptionCopyright © 2010–2015 MyBatis.org. All rights reserved.