Top Constructors Methods
org.hibernate.dialect.identity

public Class CockroachDB1920IdentityColumnSupport

extends IdentityColumnSupportImpl
Class Inheritance
Imports
java.sql.Types

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getIdentityColumnString(int
The java.sql.Types type code.
type
)

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.getIdentityColumnString.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.getIdentityColumnString.

The syntax used during DDL to define a column as being an IDENTITY of a particular type.
public String
getIdentitySelectString(String
The table into which the insert was done
table
,
String
The PK column.
column
,
int
The java.sql.Types type code.
type
)

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.getIdentitySelectString.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.getIdentitySelectString.

Get the select command to use to retrieve the last generated IDENTITY value for a particular table
public boolean
hasDataTypeInIdentityColumn()

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.hasDataTypeInIdentityColumn.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.hasDataTypeInIdentityColumn.

Whether this dialect have an Identity clause added to the data type or a completely separate identity data type
public boolean
Inherited from org.hibernate.dialect.identity.IdentityColumnSupportImpl:
appendIdentitySelectToInsertbuildGetGeneratedKeysDelegategetIdentityInsertStringsupportsInsertSelectIdentity

Constructor Detail

CockroachDB1920IdentityColumnSupportback to summary
public CockroachDB1920IdentityColumnSupport()

Method Detail

getIdentityColumnStringback to summary
public String getIdentityColumnString(int type)

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.getIdentityColumnString.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.getIdentityColumnString.

Doc from org.hibernate.dialect.identity.IdentityColumnSupport.getIdentityColumnString.

The syntax used during DDL to define a column as being an IDENTITY of a particular type.

Parameters
type:int

The java.sql.Types type code.

Returns:String

The appropriate DDL fragment.

Annotations
@Override
getIdentitySelectStringback to summary
public String getIdentitySelectString(String table, String column, int type)

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.getIdentitySelectString.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.getIdentitySelectString.

Doc from org.hibernate.dialect.identity.IdentityColumnSupport.getIdentitySelectString.

Get the select command to use to retrieve the last generated IDENTITY value for a particular table

Parameters
table:String

The table into which the insert was done

column:String

The PK column.

type:int

The java.sql.Types type code.

Returns:String

The appropriate select command

Annotations
@Override
hasDataTypeInIdentityColumnback to summary
public boolean hasDataTypeInIdentityColumn()

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.hasDataTypeInIdentityColumn.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.hasDataTypeInIdentityColumn.

Doc from org.hibernate.dialect.identity.IdentityColumnSupport.hasDataTypeInIdentityColumn.

Whether this dialect have an Identity clause added to the data type or a completely separate identity data type

Returns:boolean

boolean

Annotations
@Override
supportsIdentityColumnsback to summary
public boolean supportsIdentityColumns()

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.supportsIdentityColumns.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.supportsIdentityColumns.

Doc from org.hibernate.dialect.identity.IdentityColumnSupport.supportsIdentityColumns.

Does this dialect support identity column key generation?

Returns:boolean

True if IDENTITY columns are supported; false otherwise.

Annotations
@Override