java.lang.Object |
↳ |
org.mybatis.generator.config.GeneratedKey |
Class Overview
This class specifies that a key is auto-generated, either as an identity
column (post insert), or as some other query like a sequences (pre insert).
Summary
Public Constructors |
|
GeneratedKey(String column, String configuredSqlStatement, boolean isIdentity, String type)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
Public Constructors
public
GeneratedKey
(String column, String configuredSqlStatement, boolean isIdentity, String type)
Public Methods
public
String
getColumn
()
public
String
getMyBatis3Order
()
public
String
getRuntimeSqlStatement
()
public
boolean
isIdentity
()
public
boolean
isJdbcStandard
()
public
boolean
isPlacedBeforeInsertInIbatis2
()
This method is used by the iBATIS2 generators to know
if the XML element should be placed
before the insert SQL statement.
public
void
validate
(List<String> errors, String tableName)