Class Jdbc3KeyGenerator
- java.lang.Object
-
- org.apache.ibatis.executor.keygen.Jdbc3KeyGenerator
-
- All Implemented Interfaces:
KeyGenerator
public class Jdbc3KeyGenerator extends java.lang.Object implements KeyGenerator
- Author:
- Clinton Begin, Kazuki Shimizu
-
-
Field Summary
Fields Modifier and Type Field Description static Jdbc3KeyGenerator
INSTANCE
A shared instance.
-
Constructor Summary
Constructors Constructor Description Jdbc3KeyGenerator()
-
Method Summary
Modifier and Type Method Description void
processAfter(Executor executor, MappedStatement ms, java.sql.Statement stmt, java.lang.Object parameter)
void
processBatch(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
-
INSTANCE
public static final Jdbc3KeyGenerator INSTANCE
A shared instance.- Since:
- 3.4.3
-
-
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
-
processBatch
public void processBatch(MappedStatement ms, java.sql.Statement stmt, java.lang.Object parameter)
-
-