public class GeneratedKey
extends java.lang.Object
| 构造器和说明 |
|---|
GeneratedKey(java.lang.String column,
java.lang.String configuredSqlStatement,
boolean isIdentity,
java.lang.String type)
Instantiates a new generated key.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getColumn()
Gets the column.
|
java.lang.String |
getMyBatis3Order()
Gets the my batis3 order.
|
java.lang.String |
getRuntimeSqlStatement()
Gets the runtime sql statement.
|
java.lang.String |
getType()
Gets the type.
|
boolean |
isIdentity()
Checks if is identity.
|
boolean |
isJdbcStandard()
Checks if is jdbc standard.
|
boolean |
isPlacedBeforeInsertInIbatis2()
This method is used by the iBATIS2 generators to know if the XML <selectKey> element should be placed before the
insert SQL statement.
|
XmlElement |
toXmlElement()
To xml element.
|
void |
validate(java.util.List<java.lang.String> errors,
java.lang.String tableName)
Validate.
|
public GeneratedKey(java.lang.String column,
java.lang.String configuredSqlStatement,
boolean isIdentity,
java.lang.String type)
column - the columnconfiguredSqlStatement - the configured sql statementisIdentity - the is identitytype - the typepublic java.lang.String getColumn()
public boolean isIdentity()
public java.lang.String getRuntimeSqlStatement()
public java.lang.String getType()
public boolean isPlacedBeforeInsertInIbatis2()
public java.lang.String getMyBatis3Order()
public XmlElement toXmlElement()
public void validate(java.util.List<java.lang.String> errors,
java.lang.String tableName)
errors - the errorstableName - the table namepublic boolean isJdbcStandard()
Copyright © 2018. All Rights Reserved.