public class SelectKeyGenerator extends Object implements KeyGenerator
Modifier and Type | Field and Description |
---|---|
static String |
SELECT_KEY_SUFFIX |
Constructor and Description |
---|
SelectKeyGenerator(MappedStatement keyStatement,
boolean executeBefore) |
Modifier and Type | Method and Description |
---|---|
void |
processAfter(Executor executor,
MappedStatement ms,
Statement stmt,
Object parameter) |
void |
processBefore(Executor executor,
MappedStatement ms,
Statement stmt,
Object parameter) |
public static final String SELECT_KEY_SUFFIX
public SelectKeyGenerator(MappedStatement keyStatement, boolean executeBefore)
public void processBefore(Executor executor, MappedStatement ms, Statement stmt, Object parameter)
processBefore
in interface KeyGenerator
public void processAfter(Executor executor, MappedStatement ms, Statement stmt, Object parameter)
processAfter
in interface KeyGenerator
Copyright © 2010–2015 MyBatis.org. All rights reserved.