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 DB2zIdentityColumnSupport
INSTANCE
-
Constructor Summary
Constructors Constructor Description DB2zIdentityColumnSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIdentitySelectString(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
buildGetGeneratedKeysDelegate, 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:IdentityColumnSupport
Get the select command to use to retrieve the last generated IDENTITY value for a particular table- Specified by:
getIdentitySelectString
in interfaceIdentityColumnSupport
- Overrides:
getIdentitySelectString
in classDB2IdentityColumnSupport
- Parameters:
table
- The table into which the insert was donecolumn
- The PK column.type
- TheTypes
type code.- Returns:
- The appropriate select command
-
-