类 KeyGenerateInterceptor

java.lang.Object
top.zephyrs.mybatis.semi.plugins.keygenerate.KeyGenerateInterceptor
所有已实现的接口:
org.apache.ibatis.plugin.Interceptor

@Intercepts(@Signature(type=org.apache.ibatis.executor.Executor.class,method="update",args={org.apache.ibatis.mapping.MappedStatement.class,java.lang.Object.class})) public class KeyGenerateInterceptor extends Object implements org.apache.ibatis.plugin.Interceptor
自动生成主键
  • 构造器详细资料

  • 方法详细资料

    • intercept

      public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
      指定者:
      intercept 在接口中 org.apache.ibatis.plugin.Interceptor
      抛出:
      Throwable
    • plugin

      public Object plugin(Object target)
      指定者:
      plugin 在接口中 org.apache.ibatis.plugin.Interceptor