Package org.hibernate.dialect.identity
Class Ingres10IdentityColumnSupport
- java.lang.Object
-
- org.hibernate.dialect.identity.IdentityColumnSupportImpl
-
- org.hibernate.dialect.identity.Ingres9IdentityColumnSupport
-
- org.hibernate.dialect.identity.Ingres10IdentityColumnSupport
-
- All Implemented Interfaces:
IdentityColumnSupport
public class Ingres10IdentityColumnSupport extends Ingres9IdentityColumnSupport
-
-
Constructor Summary
Constructors Constructor Description Ingres10IdentityColumnSupport()
-
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
getIdentityInsertString()
The keyword used to insert a generated value into an identity column (or null).boolean
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.Ingres9IdentityColumnSupport
getIdentitySelectString
-
Methods inherited from class org.hibernate.dialect.identity.IdentityColumnSupportImpl
appendIdentitySelectToInsert, buildGetGeneratedKeysDelegate, supportsInsertSelectIdentity
-
-
-
-
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)
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.
-
getIdentityInsertString
public java.lang.String getIdentityInsertString()
Description copied from interface:IdentityColumnSupport
The keyword used to insert a generated value into an identity column (or null). Need if the dialect does not support inserts that specify no column values.- Specified by:
getIdentityInsertString
in interfaceIdentityColumnSupport
- Overrides:
getIdentityInsertString
in classIdentityColumnSupportImpl
- Returns:
- The appropriate keyword.
-
-