Package org.hibernate.mapping
Interface AuxiliaryDatabaseObject
- All Superinterfaces:
RelationalModel,Serializable
- All Known Implementing Classes:
AbstractAuxiliaryDatabaseObject,SimpleAuxiliaryDatabaseObject
Auxiliary database objects (i.e., triggers, stored procedures, etc) defined
in the mappings. Allows Hibernate to manage their lifecycle as part of
creating/dropping the schema.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDialectScope(String dialectName) Add the given dialect name to the scope of dialects to which this database object applies.booleanappliesToDialect(Dialect dialect) Does this database object apply to the given dialect?Methods inherited from interface org.hibernate.mapping.RelationalModel
sqlCreateString, sqlDropString
-
Method Details
-
addDialectScope
Add the given dialect name to the scope of dialects to which this database object applies.- Parameters:
dialectName- The name of a dialect.
-
appliesToDialect
Does this database object apply to the given dialect?- Parameters:
dialect- The dialect to check against.- Returns:
- True if this database object does apply to the given dialect.
-