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
SQLException
void commit() throws SQLException
SQLException
void rollback() throws SQLException
SQLException
void close() throws SQLException
SQLException
Copyright © 2010–2015 MyBatis.org. All rights reserved.