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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSelectKeyGenerator(org.apache.ibatis.mapping.MappedStatement keyStatement, boolean executeBefore) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessAfter(org.apache.ibatis.executor.Executor executor, org.apache.ibatis.mapping.MappedStatement ms, Statement stmt, Object parameter) voidprocessBefore(org.apache.ibatis.executor.Executor executor, org.apache.ibatis.mapping.MappedStatement ms, Statement stmt, Object parameter)
-
Field Details
-
SELECT_KEY_SUFFIX
- See Also:
-
-
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:
processBeforein interfaceorg.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:
processAfterin interfaceorg.apache.ibatis.executor.keygen.KeyGenerator
-