Class SelectKeyGenerator

java.lang.Object
cn.lm.mybatis.mapper.mapperhelper.SelectKeyGenerator
All Implemented Interfaces:
org.apache.ibatis.executor.keygen.KeyGenerator

public class SelectKeyGenerator extends Object implements org.apache.ibatis.executor.keygen.KeyGenerator
Author:
Clinton Begin, Jeff Butler
  • Field Details

  • Constructor Details

    • SelectKeyGenerator

      public SelectKeyGenerator(org.apache.ibatis.mapping.MappedStatement keyStatement, boolean executeBefore)
  • Method Details

    • processBefore

      public void processBefore(org.apache.ibatis.executor.Executor executor, org.apache.ibatis.mapping.MappedStatement ms, Statement stmt, Object parameter)
      Specified by:
      processBefore in interface org.apache.ibatis.executor.keygen.KeyGenerator
    • processAfter

      public void processAfter(org.apache.ibatis.executor.Executor executor, org.apache.ibatis.mapping.MappedStatement ms, Statement stmt, Object parameter)
      Specified by:
      processAfter in interface org.apache.ibatis.executor.keygen.KeyGenerator