Package org.hibernate.dialect.identity
Class Chache71IdentityColumnSupport
- java.lang.Object
-
- org.hibernate.dialect.identity.IdentityColumnSupportImpl
-
- org.hibernate.dialect.identity.Chache71IdentityColumnSupport
-
- All Implemented Interfaces:
IdentityColumnSupport
public class Chache71IdentityColumnSupport extends IdentityColumnSupportImpl
-
-
Constructor Summary
Constructors Constructor Description Chache71IdentityColumnSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIdentityColumnString(int type)
The syntax used during DDL to define a column as being an IDENTITY of a particular type.java.lang.String
getIdentitySelectString(java.lang.String table, java.lang.String column, int type)
Get the select command to use to retrieve the last generated IDENTITY value for a particular tableboolean
hasDataTypeInIdentityColumn()
Whether this dialect have an Identity clause added to the data type or a completely separate identity data typeboolean
supportsIdentityColumns()
Does this dialect support identity column key generation?-
Methods inherited from class org.hibernate.dialect.identity.IdentityColumnSupportImpl
appendIdentitySelectToInsert, buildGetGeneratedKeysDelegate, getIdentityInsertString, supportsInsertSelectIdentity
-
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
appendIdentitySelectToInsert
-
-
-
-
Method Detail
-
supportsIdentityColumns
public boolean supportsIdentityColumns()
Description copied from interface:IdentityColumnSupport
Does this dialect support identity column key generation?- Specified by:
supportsIdentityColumns
in interfaceIdentityColumnSupport
- Overrides:
supportsIdentityColumns
in classIdentityColumnSupportImpl
- Returns:
- True if IDENTITY columns are supported; false otherwise.
-
hasDataTypeInIdentityColumn
public boolean hasDataTypeInIdentityColumn()
Description copied from interface:IdentityColumnSupport
Whether this dialect have an Identity clause added to the data type or a completely separate identity data type- Specified by:
hasDataTypeInIdentityColumn
in interfaceIdentityColumnSupport
- Overrides:
hasDataTypeInIdentityColumn
in classIdentityColumnSupportImpl
- Returns:
- boolean
-
getIdentityColumnString
public java.lang.String getIdentityColumnString(int type) throws MappingException
Description copied from interface:IdentityColumnSupport
The syntax used during DDL to define a column as being an IDENTITY of a particular type.- Specified by:
getIdentityColumnString
in interfaceIdentityColumnSupport
- Overrides:
getIdentityColumnString
in classIdentityColumnSupportImpl
- Parameters:
type
- TheTypes
type code.- Returns:
- The appropriate DDL fragment.
- Throws:
MappingException
- If IDENTITY generation is not supported.
-
getIdentitySelectString
public java.lang.String getIdentitySelectString(java.lang.String table, java.lang.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 classIdentityColumnSupportImpl
- Parameters:
table
- The table into which the insert was donecolumn
- The PK column.type
- TheTypes
type code.- Returns:
- The appropriate select command
-
-