public class GeneratedKey extends Object
| 构造器和说明 |
|---|
GeneratedKey(String column,
String configuredSqlStatement,
boolean isIdentity,
String type)
Instantiates a new generated key.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getColumn()
Gets the column.
|
String |
getMyBatis3Order()
Gets the my batis3 order.
|
String |
getRuntimeSqlStatement()
Gets the runtime sql statement.
|
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(List<String> errors,
String tableName)
Validate.
|
public String getColumn()
public boolean isIdentity()
public String getRuntimeSqlStatement()
public String getType()
public boolean isPlacedBeforeInsertInIbatis2()
public String getMyBatis3Order()
public XmlElement toXmlElement()
public void validate(List<String> errors, String tableName)
errors - the errorstableName - the table namepublic boolean isJdbcStandard()
Copyright © 2006–2016 MyBatis.org. All rights reserved.