org.apache.ibatis.executor.keygen
Class SelectKeyGenerator

java.lang.Object
  extended by org.apache.ibatis.executor.keygen.SelectKeyGenerator
All Implemented Interfaces:
KeyGenerator

public class SelectKeyGenerator
extends Object
implements KeyGenerator


Field Summary
static String SELECT_KEY_SUFFIX
           
 
Constructor Summary
SelectKeyGenerator(MappedStatement keyStatement, boolean executeBefore)
           
 
Method Summary
 void processAfter(Executor executor, MappedStatement ms, Statement stmt, Object parameter)
           
 void processBefore(Executor executor, MappedStatement ms, Statement stmt, Object parameter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface KeyGenerator

processAfter

public void processAfter(Executor executor,
                         MappedStatement ms,
                         Statement stmt,
                         Object parameter)
Specified by:
processAfter in interface KeyGenerator


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.