Class HSQLIdentityColumnSupport
java.lang.Object
org.hibernate.dialect.identity.IdentityColumnSupportImpl
org.hibernate.dialect.identity.HSQLIdentityColumnSupport
- All Implemented Interfaces:
IdentityColumnSupport
-
Field Summary
Fields inherited from class IdentityColumnSupportImpl
INSTANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIdentityColumnString(int type) The syntax used during DDL to define a column as being an IDENTITY of a particular type.The keyword used to insert a generated value into an identity column (or null).getIdentitySelectString(String table, String column, int type) Get the select command to use to retrieve the last generated IDENTITY value for a particular tablebooleanDoes this dialect support identity column key generation?Methods inherited from class IdentityColumnSupportImpl
appendIdentitySelectToInsert, buildGetGeneratedKeysDelegate, hasDataTypeInIdentityColumn, supportsInsertSelectIdentityMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IdentityColumnSupport
appendIdentitySelectToInsert, hasIdentityInsertKeyword
-
Constructor Details
-
HSQLIdentityColumnSupport
-
-
Method Details
-
supportsIdentityColumns
public boolean supportsIdentityColumns()Description copied from interface:IdentityColumnSupportDoes this dialect support identity column key generation?- Specified by:
supportsIdentityColumnsin interfaceIdentityColumnSupport- Overrides:
supportsIdentityColumnsin classIdentityColumnSupportImpl- Returns:
- True if IDENTITY columns are supported; false otherwise.
-
getIdentityColumnString
Description copied from interface:IdentityColumnSupportThe syntax used during DDL to define a column as being an IDENTITY of a particular type.- Specified by:
getIdentityColumnStringin interfaceIdentityColumnSupport- Overrides:
getIdentityColumnStringin classIdentityColumnSupportImpl- Parameters:
type- TheTypestype code.- Returns:
- The appropriate DDL fragment.
-
getIdentitySelectString
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 classIdentityColumnSupportImpl- Parameters:
table- The table into which the insert was donecolumn- The PK column.type- TheTypestype code.- Returns:
- The appropriate select command
-
getIdentityInsertString
Description copied from interface:IdentityColumnSupportThe 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:
getIdentityInsertStringin interfaceIdentityColumnSupport- Overrides:
getIdentityInsertStringin classIdentityColumnSupportImpl- Returns:
- The appropriate keyword.
-