Top Constructors Methods
org.hibernate.dialect.identity

public Class Oracle12cIdentityColumnSupport

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

Author
Andrea Boriero

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
public boolean
supportsInsertSelectIdentity()

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.supportsInsertSelectIdentity.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.supportsInsertSelectIdentity.

Does the dialect support some form of inserting and selecting the generated IDENTITY value all in the same statement.
Inherited from org.hibernate.dialect.identity.IdentityColumnSupportImpl:
appendIdentitySelectToInsertgetIdentitySelectStringhasDataTypeInIdentityColumn

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
supportsInsertSelectIdentityback to summary
public boolean supportsInsertSelectIdentity()

Overrides org.hibernate.dialect.identity.IdentityColumnSupportImpl.supportsInsertSelectIdentity.

Implements org.hibernate.dialect.identity.IdentityColumnSupport.supportsInsertSelectIdentity.

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

Does the dialect support some form of inserting and selecting the generated IDENTITY value all in the same statement.

Returns:boolean

True if the dialect supports selecting the just generated IDENTITY in the insert statement.

Annotations
@Override