public class

GeneratedKey

extends Object
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)
Public Methods
String getColumn()
String getMyBatis3Order()
String getRuntimeSqlStatement()
String getType()
boolean isIdentity()
boolean isJdbcStandard()
boolean isPlacedBeforeInsertInIbatis2()
This method is used by the iBATIS2 generators to know if the XML element should be placed before the insert SQL statement.
XmlElement toXmlElement()
void validate(List<String> errors, String tableName)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GeneratedKey (String column, String configuredSqlStatement, boolean isIdentity, String type)

Public Methods

public String getColumn ()

public String getMyBatis3Order ()

public String getRuntimeSqlStatement ()

public String getType ()

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 XmlElement toXmlElement ()

public void validate (List<String> errors, String tableName)