@Intercepts(value=@Signature(type=org.apache.ibatis.executor.Executor.class,method="query",args={org.apache.ibatis.mapping.MappedStatement.class,java.lang.Object.class,org.apache.ibatis.session.RowBounds.class,org.apache.ibatis.session.ResultHandler.class}))
public class CharacterEscapeInterceptor
extends Object
implements org.apache.ibatis.plugin.Interceptor
| 构造器和说明 |
|---|
CharacterEscapeInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
escapeChar(String before) |
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation) |
static String |
modifyLikeSql(String sql,
Object parameterObject,
org.apache.ibatis.mapping.BoundSql boundSql) |
Object |
plugin(Object target) |
void |
setProperties(Properties properties) |
public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
intercept 在接口中 org.apache.ibatis.plugin.InterceptorThrowablepublic void setProperties(Properties properties)
setProperties 在接口中 org.apache.ibatis.plugin.Interceptorpublic static String modifyLikeSql(String sql, Object parameterObject, org.apache.ibatis.mapping.BoundSql boundSql)
Copyright © 2023. All rights reserved.