类 Oracle12cIdentityColumnSupport
- java.lang.Object
-
- org.hibernate.dialect.identity.IdentityColumnSupportImpl
-
- org.hibernate.dialect.identity.Oracle12cIdentityColumnSupport
-
- 所有已实现的接口:
IdentityColumnSupport
public class Oracle12cIdentityColumnSupport extends IdentityColumnSupportImpl
- 作者:
- Andrea Boriero
-
-
构造器概要
构造器 构造器 说明 Oracle12cIdentityColumnSupport()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 GetGeneratedKeysDelegatebuildGetGeneratedKeysDelegate(PostInsertIdentityPersister persister, Dialect dialect)The Delegate for dealing with IDENTITY columns using JDBC3 getGeneratedKeysStringgetIdentityColumnString(int type)The syntax used during DDL to define a column as being an IDENTITY of a particular type.StringgetIdentityInsertString()The keyword used to insert a generated value into an identity column (or null).booleansupportsIdentityColumns()Does this dialect support identity column key generation?booleansupportsInsertSelectIdentity()Does the dialect support some form of inserting and selecting the generated IDENTITY value all in the same statement.-
从类继承的方法 org.hibernate.dialect.identity.IdentityColumnSupportImpl
appendIdentitySelectToInsert, getIdentitySelectString, hasDataTypeInIdentityColumn
-
-
-
-
方法详细资料
-
supportsIdentityColumns
public boolean supportsIdentityColumns()
从接口复制的说明:IdentityColumnSupportDoes this dialect support identity column key generation?- 指定者:
supportsIdentityColumns在接口中IdentityColumnSupport- 覆盖:
supportsIdentityColumns在类中IdentityColumnSupportImpl- 返回:
- True if IDENTITY columns are supported; false otherwise.
-
supportsInsertSelectIdentity
public boolean supportsInsertSelectIdentity()
从接口复制的说明:IdentityColumnSupportDoes the dialect support some form of inserting and selecting the generated IDENTITY value all in the same statement.- 指定者:
supportsInsertSelectIdentity在接口中IdentityColumnSupport- 覆盖:
supportsInsertSelectIdentity在类中IdentityColumnSupportImpl- 返回:
- True if the dialect supports selecting the just generated IDENTITY in the insert statement.
-
getIdentityColumnString
public String getIdentityColumnString(int type)
从接口复制的说明:IdentityColumnSupportThe syntax used during DDL to define a column as being an IDENTITY of a particular type.- 指定者:
getIdentityColumnString在接口中IdentityColumnSupport- 覆盖:
getIdentityColumnString在类中IdentityColumnSupportImpl- 参数:
type- TheTypestype code.- 返回:
- The appropriate DDL fragment.
-
buildGetGeneratedKeysDelegate
public GetGeneratedKeysDelegate buildGetGeneratedKeysDelegate(PostInsertIdentityPersister persister, Dialect dialect)
从接口复制的说明:IdentityColumnSupportThe Delegate for dealing with IDENTITY columns using JDBC3 getGeneratedKeys- 指定者:
buildGetGeneratedKeysDelegate在接口中IdentityColumnSupport- 覆盖:
buildGetGeneratedKeysDelegate在类中IdentityColumnSupportImpl- 参数:
persister- The persisterdialect- The dialect against which to generate the delegate- 返回:
- the dialect specific GetGeneratedKeys delegate
-
getIdentityInsertString
public String getIdentityInsertString()
从接口复制的说明:IdentityColumnSupportThe 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.- 指定者:
getIdentityInsertString在接口中IdentityColumnSupport- 覆盖:
getIdentityInsertString在类中IdentityColumnSupportImpl- 返回:
- The appropriate keyword.
-
-