Package org.hibernate.dialect.identity
Class DB2zIdentityColumnSupport
- java.lang.Object
-
- org.hibernate.dialect.identity.IdentityColumnSupportImpl
-
- org.hibernate.dialect.identity.DB2IdentityColumnSupport
-
- org.hibernate.dialect.identity.DB2zIdentityColumnSupport
-
- All Implemented Interfaces:
IdentityColumnSupport
- Direct Known Subclasses:
DB2390IdentityColumnSupport
public class DB2zIdentityColumnSupport extends DB2IdentityColumnSupport
-
-
Field Summary
Fields Modifier and Type Field Description static DB2zIdentityColumnSupportINSTANCE
-
Constructor Summary
Constructors Constructor Description DB2zIdentityColumnSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIdentitySelectString(String table, String column, int type)Get the select command to use to retrieve the last generated IDENTITY value for a particular table-
Methods inherited from class org.hibernate.dialect.identity.DB2IdentityColumnSupport
appendIdentitySelectToInsert, getIdentityColumnString, getIdentityInsertString, supportsIdentityColumns, supportsInsertSelectIdentity
-
Methods inherited from class org.hibernate.dialect.identity.IdentityColumnSupportImpl
appendIdentitySelectToInsert, buildGetGeneratedKeysDelegate, hasDataTypeInIdentityColumn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.dialect.identity.IdentityColumnSupport
hasIdentityInsertKeyword
-
-
-
-
Field Detail
-
INSTANCE
public static final DB2zIdentityColumnSupport INSTANCE
-
-
Method Detail
-
getIdentitySelectString
public String getIdentitySelectString(String table, String column, int type)
Description copied from interface:IdentityColumnSupportGet the select command to use to retrieve the last generated IDENTITY value for a particular table- Specified by:
getIdentitySelectStringin interfaceIdentityColumnSupport- Overrides:
getIdentitySelectStringin classDB2IdentityColumnSupport- Parameters:
table- The table into which the insert was donecolumn- The PK column.type- TheTypestype code.- Returns:
- The appropriate select command
-
-