public class Chache71IdentityColumnSupport extends IdentityColumnSupportImpl
Constructor and Description |
---|
Chache71IdentityColumnSupport() |
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 |
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 |
hasDataTypeInIdentityColumn()
Whether this dialect have an Identity clause added to the data type or a
completely separate identity data type
|
boolean |
supportsIdentityColumns()
Does this dialect support identity column key generation?
|
appendIdentitySelectToInsert, buildGetGeneratedKeysDelegate, getIdentityInsertString, supportsInsertSelectIdentity
public boolean supportsIdentityColumns()
IdentityColumnSupport
supportsIdentityColumns
in interface IdentityColumnSupport
supportsIdentityColumns
in class IdentityColumnSupportImpl
public boolean hasDataTypeInIdentityColumn()
IdentityColumnSupport
hasDataTypeInIdentityColumn
in interface IdentityColumnSupport
hasDataTypeInIdentityColumn
in class IdentityColumnSupportImpl
public String getIdentityColumnString(int type) throws MappingException
IdentityColumnSupport
getIdentityColumnString
in interface IdentityColumnSupport
getIdentityColumnString
in class IdentityColumnSupportImpl
type
- The Types
type code.MappingException
- If IDENTITY generation is not supported.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.Copyright © 2017 JBoss by Red Hat. All rights reserved.