@Intercepts(value=@Signature(method="prepare",type=org.apache.ibatis.executor.statement.StatementHandler.class,args={java.sql.Connection.class,java.lang.Integer.class}))
public class MybatisInterceptor
extends Object
implements org.apache.ibatis.plugin.Interceptor
创建时间:2018/12/17
| 构造器和说明 |
|---|
MybatisInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.alibaba.druid.DbType |
getType() |
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation) |
Object |
plugin(Object o) |
void |
setProperties(Properties properties) |
void |
setType(com.alibaba.druid.DbType type) |
static void |
validatePageInfo(int page,
int size) |
public com.alibaba.druid.DbType getType()
public void setType(com.alibaba.druid.DbType type)
public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
intercept 在接口中 org.apache.ibatis.plugin.InterceptorThrowablepublic static void validatePageInfo(int page,
int size)
throws IllegalArgumentException
public void setProperties(Properties properties)
setProperties 在接口中 org.apache.ibatis.plugin.InterceptorCopyright © 2022. All rights reserved.