public class HSQLIdentityColumnSupport extends IdentityColumnSupportImpl
Constructor and Description |
---|
HSQLIdentityColumnSupport(int hsqldbVersion) |
Modifier and Type | Method and Description |
---|---|
String |
getIdentityColumnString(int type)
The syntax used during DDL to define a column as being an IDENTITY of
a particular type.
|
String |
getIdentityInsertString()
The keyword used to insert a generated value into an identity column (or null).
|
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
|
boolean |
supportsIdentityColumns()
Does this dialect support identity column key generation?
|
appendIdentitySelectToInsert, buildGetGeneratedKeysDelegate, hasDataTypeInIdentityColumn, supportsInsertSelectIdentity
public boolean supportsIdentityColumns()
IdentityColumnSupport
supportsIdentityColumns
in interface IdentityColumnSupport
supportsIdentityColumns
in class IdentityColumnSupportImpl
public String getIdentityColumnString(int type)
IdentityColumnSupport
getIdentityColumnString
in interface IdentityColumnSupport
getIdentityColumnString
in class IdentityColumnSupportImpl
type
- The Types
type code.public String getIdentitySelectString(String table, String column, int type)
IdentityColumnSupport
getIdentitySelectString
in interface IdentityColumnSupport
getIdentitySelectString
in class IdentityColumnSupportImpl
table
- The table into which the insert was donecolumn
- The PK column.type
- The Types
type code.public String getIdentityInsertString()
IdentityColumnSupport
getIdentityInsertString
in interface IdentityColumnSupport
getIdentityInsertString
in class IdentityColumnSupportImpl
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.