ParamInterceptor

@Component
@ConditionalOnClass(value = TLogContext::class)
@Intercepts(value = [Signature(type = StatementHandler::class, method = "prepare", args = [Connection::class, Integer::class])])
open class ParamInterceptor : Interceptor

参数拦截器 sql输出增加前缀 #sqlId;traceId

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun intercept(invocation: Invocation): Any
Link copied to clipboard
open fun plugin(o: Any): Any
Link copied to clipboard
open fun setProperties(properties: Properties)