public interface TransactionSmartDbNode extends SmartDbNode
| 限定符和类型 | 方法和说明 |
|---|---|
void |
begin()
开启事务
|
void |
begin(int transactionLevel)
开启事务
|
void |
commit()
提交事务
|
void |
releaseConnection()
释放连接
|
void |
rollback()
回滚
|
batch, batchInsert, batchInsertSelective, delete, deleteSqlBuilder, execute, execute, execute, execute, execute, execute, execute, getColumnNameConverter, getConnection, getDataSource, getRowConverter, getSupportDatabaseType, getTableNameConverter, getTransaction, insert, insertSelective, insertSqlBuilder, paginate, paginate, paginate, paginate, paginate, paginate, query, query, query, query, queryFirst, queryFirst, queryFirst, queryFirst, queryList, queryList, queryList, queryList, replaceSqlBuilder, runTransaction, runTransaction, selectSqlBuilder, update, updateSelective, updateSqlBuildervoid rollback()
throws SQLException
SQLExceptionvoid begin(int transactionLevel)
throws SQLException
SQLExceptionvoid begin()
throws SQLException
SQLExceptionvoid commit()
throws SQLException
SQLExceptionvoid releaseConnection()
Copyright © 2020. All rights reserved.