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