Package org.hibernate.mapping
Interface AuxiliaryDatabaseObject
-
- All Superinterfaces:
RelationalModel
,java.io.Serializable
public interface AuxiliaryDatabaseObject extends RelationalModel, java.io.Serializable
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addDialectScope(java.lang.String dialectName)
Add the given dialect name to the scope of dialects to which this database object applies.boolean
appliesToDialect(Dialect dialect)
Does this database object apply to the given dialect?-
Methods inherited from interface org.hibernate.mapping.RelationalModel
sqlCreateString, sqlDropString
-
-
-
-
Method Detail
-
addDialectScope
void addDialectScope(java.lang.String dialectName)
Add the given dialect name to the scope of dialects to which this database object applies.- Parameters:
dialectName
- The name of a dialect.
-
appliesToDialect
boolean appliesToDialect(Dialect dialect)
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.
-
-