Top Fields Constructors Methods
org.hibernate.dialect.identity

public Class Oracle12cIdentityColumnSupport

extends IdentityColumnSupportImpl
Class Inheritance
Imports
org.hibernate.dialect.Dialect, org.hibernate.id.PostInsertIdentityPersister, org.hibernate.id.insert.GetGeneratedKeysDelegate

Author
Andrea Boriero

Field Summary

Modifier and TypeField and Description
public static final Oracle12cIdentityColumnSupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public GetGeneratedKeysDelegate
buildGetGeneratedKeysDelegate(PostInsertIdentityPersister
The persister
persister
,
Dialect
The dialect against which to generate the delegate
dialect
)

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.buildGetGeneratedKeysDelegate.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.buildGetGeneratedKeysDelegate.

The Delegate for dealing with IDENTITY columns using JDBC3 getGeneratedKeys
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
public boolean
Inherited from org.hibernate.dialect.identity.IdentityColumnSupportImpl:
appendIdentitySelectToInsertgetIdentitySelectStringhasDataTypeInIdentityColumnsupportsInsertSelectIdentity

Field Detail

INSTANCEback to summary
public static final Oracle12cIdentityColumnSupport INSTANCE

Hides org.hibernate.dialect.identity.IdentityColumnSupportImpl.INSTANCE.

Constructor Detail

Oracle12cIdentityColumnSupportback to summary
public Oracle12cIdentityColumnSupport()

Method Detail

buildGetGeneratedKeysDelegateback to summary
public GetGeneratedKeysDelegate buildGetGeneratedKeysDelegate(PostInsertIdentityPersister persister, Dialect dialect)

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.buildGetGeneratedKeysDelegate.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.buildGetGeneratedKeysDelegate.

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

The Delegate for dealing with IDENTITY columns using JDBC3 getGeneratedKeys

Parameters
persister:PostInsertIdentityPersister

The persister

dialect:Dialect

The dialect against which to generate the delegate

Returns:GetGeneratedKeysDelegate

the dialect specific GetGeneratedKeys delegate

Annotations
@Override
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
getIdentityInsertStringback to summary
public String getIdentityInsertString()

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.getIdentityInsertString.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.getIdentityInsertString.

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

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.

Returns:String

The appropriate keyword.

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