类 AbstractAuxiliaryDatabaseObject
- java.lang.Object
-
- org.hibernate.boot.model.relational.AbstractAuxiliaryDatabaseObject
-
- 直接已知子类:
SimpleAuxiliaryDatabaseObject
public abstract class AbstractAuxiliaryDatabaseObject extends Object implements AuxiliaryDatabaseObject, AuxiliaryDatabaseObject.Expandable
Convenience base class forAuxiliaryDatabaseObjects. This implementation performs dialect scoping checks strictly based on dialect name comparisons. Custom implementations might want to do instanceof-type checks.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.boot.model.relational.AuxiliaryDatabaseObject
AuxiliaryDatabaseObject.Expandable
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractAuxiliaryDatabaseObject()AbstractAuxiliaryDatabaseObject(boolean beforeTables)protectedAbstractAuxiliaryDatabaseObject(boolean beforeTables, Set<String> dialectScopes)protectedAbstractAuxiliaryDatabaseObject(Set<String> dialectScopes)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddDialectScope(String dialectName)booleanappliesToDialect(Dialect dialect)Does this database object apply to the given dialect?booleanbeforeTablesOnCreation()Defines a simple precedence.SetgetDialectScopes()StringgetExportIdentifier()Get a unique identifier to make sure we are not exporting the same database structure multiple times.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.boot.model.relational.AuxiliaryDatabaseObject
sqlCreateStrings, sqlDropStrings
-
-
-
-
方法详细资料
-
getExportIdentifier
public String getExportIdentifier()
从接口复制的说明:ExportableGet a unique identifier to make sure we are not exporting the same database structure multiple times.- 指定者:
getExportIdentifier在接口中Exportable- 返回:
- The exporting identifier.
-
addDialectScope
public void addDialectScope(String dialectName)
-
getDialectScopes
public Set getDialectScopes()
-
appliesToDialect
public boolean appliesToDialect(Dialect dialect)
从接口复制的说明:AuxiliaryDatabaseObjectDoes this database object apply to the given dialect?- 指定者:
appliesToDialect在接口中AuxiliaryDatabaseObject- 参数:
dialect- The dialect to check against.- 返回:
- True if this database object does apply to the given dialect.
-
beforeTablesOnCreation
public boolean beforeTablesOnCreation()
从接口复制的说明:AuxiliaryDatabaseObjectDefines a simple precedence. Should creation of this auxiliary object happen before creation of tables? Iftrue, the auxiliary object creation will happen after any explicit schema creations but before table/sequence creations; iffalse, the auxiliary object creation will happen after explicit schema creations and after table/sequence creations. This precedence is automatically inverted for dropping.- 指定者:
beforeTablesOnCreation在接口中AuxiliaryDatabaseObject- 返回:
trueindicates this object should be created before tables;falseindicates it should be created after.
-
-