public interface Interceptor
BaseSQLExecutor 执行SQL时的环绕拦截器| 限定符和类型 | 方法和说明 |
|---|---|
void |
after(InterceptorContext ctx)
如果正常执行,调用after
|
void |
before(InterceptorContext ctx)
在查询前执行
|
void |
exception(InterceptorContext ctx,
Exception ex)
如果异常,将调用exception
|
void before(InterceptorContext ctx)
void after(InterceptorContext ctx)
void exception(InterceptorContext ctx, Exception ex)
Copyright © 2021. All rights reserved.