public class Oracle12cIdentityColumnSupport extends IdentityColumnSupportImpl
Constructor and Description |
---|
Oracle12cIdentityColumnSupport() |
Modifier and Type | Method and Description |
---|---|
GetGeneratedKeysDelegate |
buildGetGeneratedKeysDelegate(PostInsertIdentityPersister persister,
Dialect dialect)
The Delegate for dealing with IDENTITY columns using JDBC3 getGeneratedKeys
|
String |
getIdentityColumnString(int type)
The syntax used during DDL to define a column as being an IDENTITY of
a particular type.
|
boolean |
supportsIdentityColumns()
Does this dialect support identity column key generation?
|
boolean |
supportsInsertSelectIdentity()
Does the dialect support some form of inserting and selecting
the generated IDENTITY value all in the same statement.
|
appendIdentitySelectToInsert, getIdentityInsertString, getIdentitySelectString, hasDataTypeInIdentityColumn
public boolean supportsIdentityColumns()
IdentityColumnSupport
supportsIdentityColumns
in interface IdentityColumnSupport
supportsIdentityColumns
in class IdentityColumnSupportImpl
public boolean supportsInsertSelectIdentity()
IdentityColumnSupport
supportsInsertSelectIdentity
in interface IdentityColumnSupport
supportsInsertSelectIdentity
in class IdentityColumnSupportImpl
public String getIdentityColumnString(int type)
IdentityColumnSupport
getIdentityColumnString
in interface IdentityColumnSupport
getIdentityColumnString
in class IdentityColumnSupportImpl
type
- The Types
type code.public GetGeneratedKeysDelegate buildGetGeneratedKeysDelegate(PostInsertIdentityPersister persister, Dialect dialect)
IdentityColumnSupport
buildGetGeneratedKeysDelegate
in interface IdentityColumnSupport
buildGetGeneratedKeysDelegate
in class IdentityColumnSupportImpl
persister
- The persisterdialect
- The dialect against which to generate the delegateCopyright © 2019 JBoss by Red Hat. All rights reserved.