org.apache.ibatis.abator.config
Class GeneratedKey
java.lang.Object
org.apache.ibatis.abator.config.GeneratedKey
- public class GeneratedKey
- extends java.lang.Object
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).
- Author:
- Jeff Butler
Constructor Summary |
GeneratedKey(java.lang.String column,
java.lang.String configuredSqlStatement,
boolean isIdentity,
java.lang.String type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneratedKey
public GeneratedKey(java.lang.String column,
java.lang.String configuredSqlStatement,
boolean isIdentity,
java.lang.String type)
getColumn
public java.lang.String getColumn()
isIdentity
public boolean isIdentity()
getRuntimeSqlStatement
public java.lang.String getRuntimeSqlStatement()
getType
public java.lang.String getType()
isBeforeInsert
public boolean isBeforeInsert()
toXmlElement
public XmlElement toXmlElement()