类 Chache71IdentityColumnSupport
- java.lang.Object
-
- org.hibernate.dialect.identity.IdentityColumnSupportImpl
-
- org.hibernate.dialect.identity.Chache71IdentityColumnSupport
-
- 所有已实现的接口:
IdentityColumnSupport
public class Chache71IdentityColumnSupport extends IdentityColumnSupportImpl
- 作者:
- Andrea Boriero
-
-
构造器概要
构造器 构造器 说明 Chache71IdentityColumnSupport()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetIdentityColumnString(int type)The syntax used during DDL to define a column as being an IDENTITY of a particular type.StringgetIdentitySelectString(String table, String column, int type)Get the select command to use to retrieve the last generated IDENTITY value for a particular tablebooleanhasDataTypeInIdentityColumn()Whether this dialect have an Identity clause added to the data type or a completely separate identity data typebooleansupportsIdentityColumns()Does this dialect support identity column key generation?-
从类继承的方法 org.hibernate.dialect.identity.IdentityColumnSupportImpl
appendIdentitySelectToInsert, buildGetGeneratedKeysDelegate, getIdentityInsertString, supportsInsertSelectIdentity
-
-
-
-
方法详细资料
-
supportsIdentityColumns
public boolean supportsIdentityColumns()
从接口复制的说明:IdentityColumnSupportDoes this dialect support identity column key generation?- 指定者:
supportsIdentityColumns在接口中IdentityColumnSupport- 覆盖:
supportsIdentityColumns在类中IdentityColumnSupportImpl- 返回:
- True if IDENTITY columns are supported; false otherwise.
-
hasDataTypeInIdentityColumn
public boolean hasDataTypeInIdentityColumn()
从接口复制的说明:IdentityColumnSupportWhether this dialect have an Identity clause added to the data type or a completely separate identity data type- 指定者:
hasDataTypeInIdentityColumn在接口中IdentityColumnSupport- 覆盖:
hasDataTypeInIdentityColumn在类中IdentityColumnSupportImpl- 返回:
- boolean
-
getIdentityColumnString
public String getIdentityColumnString(int type) throws MappingException
从接口复制的说明: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.
- 抛出:
MappingException- If IDENTITY generation is not supported.
-
getIdentitySelectString
public String getIdentitySelectString(String table, String column, int type)
从接口复制的说明:IdentityColumnSupportGet the select command to use to retrieve the last generated IDENTITY value for a particular table- 指定者:
getIdentitySelectString在接口中IdentityColumnSupport- 覆盖:
getIdentitySelectString在类中IdentityColumnSupportImpl- 参数:
table- The table into which the insert was donecolumn- The PK column.type- TheTypestype code.- 返回:
- The appropriate select command
-
-