Class SelectKeyGenerator
- java.lang.Object
-
- org.apache.ibatis.executor.keygen.SelectKeyGenerator
-
- All Implemented Interfaces:
KeyGenerator
public class SelectKeyGenerator extends Object implements KeyGenerator
- Author:
- Clinton Begin, Jeff Butler
-
-
Field Summary
Fields Modifier and Type Field Description static String
SELECT_KEY_SUFFIX
-
Constructor Summary
Constructors Constructor Description SelectKeyGenerator(MappedStatement keyStatement, boolean executeBefore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processAfter(Executor executor, MappedStatement ms, Statement stmt, Object parameter)
void
processBefore(Executor executor, MappedStatement ms, Statement stmt, Object parameter)
-
-
-
Field Detail
-
SELECT_KEY_SUFFIX
public static final String SELECT_KEY_SUFFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SelectKeyGenerator
public SelectKeyGenerator(MappedStatement keyStatement, boolean executeBefore)
-
-
Method Detail
-
processBefore
public void processBefore(Executor executor, MappedStatement ms, Statement stmt, Object parameter)
- Specified by:
processBefore
in interfaceKeyGenerator
-
processAfter
public void processAfter(Executor executor, MappedStatement ms, Statement stmt, Object parameter)
- Specified by:
processAfter
in interfaceKeyGenerator
-
-