类 HSQLIdentityColumnSupport
- java.lang.Object
-
- org.hibernate.dialect.identity.IdentityColumnSupportImpl
-
- org.hibernate.dialect.identity.HSQLIdentityColumnSupport
-
- 所有已实现的接口:
IdentityColumnSupport
public class HSQLIdentityColumnSupport extends IdentityColumnSupportImpl
- 作者:
- Andrea Boriero
-
-
构造器概要
构造器 构造器 说明 HSQLIdentityColumnSupport(int hsqldbVersion)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetIdentityColumnString(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).StringgetIdentitySelectString(String table, String column, int type)Get the select command to use to retrieve the last generated IDENTITY value for a particular tablebooleansupportsIdentityColumns()Does this dialect support identity column key generation?-
从类继承的方法 org.hibernate.dialect.identity.IdentityColumnSupportImpl
appendIdentitySelectToInsert, buildGetGeneratedKeysDelegate, hasDataTypeInIdentityColumn, 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.
-
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.
-
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
-
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.
-
-