类 DefaultSqlInterceptor
java.lang.Object
org.ssssssss.magicapi.modules.db.inteceptor.DefaultSqlInterceptor
- 所有已实现的接口:
SQLInterceptor
默认打印SQL实现
- 作者:
- mxd
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidhandleException(BoundSql boundSql, Throwable throwable, RequestEntity requestEntity) private voidhandleLog(BoundSql boundSql, RequestEntity requestEntity) postHandle(BoundSql boundSql, Object result, RequestEntity requestEntity) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.ssssssss.magicapi.modules.db.inteceptor.SQLInterceptor
preHandle
-
构造器详细资料
-
DefaultSqlInterceptor
public DefaultSqlInterceptor()
-
-
方法详细资料
-
handleLog
-
postHandle
- 指定者:
postHandle在接口中SQLInterceptor- 参数:
boundSql- SQL信息result- 执行结果requestEntity- 请求信息
-
handleException
- 指定者:
handleException在接口中SQLInterceptor- 参数:
boundSql- SQL信息throwable- 异常信息requestEntity- 请求信息
-