public interface SqlExecuteInterceptor
| 限定符和类型 | 方法和说明 |
|---|---|
void |
postInsert(StatementInformation statementInformation)
程序业务
insert 语句执行后植入事务操作 |
void |
preDelete(net.sf.jsqlparser.statement.delete.Delete delete)
程序业务
delete 语句执行前植入事务操作 |
void |
preInsert(net.sf.jsqlparser.statement.insert.Insert insert)
程序业务
insert 语句执行前植入事务操作 |
void |
preSelect(LockableSelect lockableSelect)
程序业务
select 语句执行前植入事务操作 |
void |
preUpdate(net.sf.jsqlparser.statement.update.Update update)
程序业务
update 语句执行前植入事务操作 |
void preUpdate(net.sf.jsqlparser.statement.update.Update update)
throws SQLException
update 语句执行前植入事务操作update - SQLSQLException - 事务判断资源锁定、不支持此SQL时抛出void preDelete(net.sf.jsqlparser.statement.delete.Delete delete)
throws SQLException
delete 语句执行前植入事务操作delete - SQLSQLException - 事务判断资源锁定、不支持此SQL时抛出void preInsert(net.sf.jsqlparser.statement.insert.Insert insert)
throws SQLException
insert 语句执行前植入事务操作insert - SQLSQLException - 不支持此SQL时抛出void postInsert(StatementInformation statementInformation) throws SQLException
insert 语句执行后植入事务操作statementInformation - SQL语句相关信息SQLException - 不支持此SQL时抛出void preSelect(LockableSelect lockableSelect) throws SQLException
select 语句执行前植入事务操作lockableSelect - SelectSQL解析后的对象SQLException - 事务判断资源锁定、不支持此SQL时抛出Copyright © 2019. All rights reserved.