org.hibernate.mapping
Interface AuxiliaryDatabaseObject
- RelationalModel, Serializable
- AbstractAuxiliaryDatabaseObject, SimpleAuxiliaryDatabaseObject
public interface AuxiliaryDatabaseObject
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.
void | addDialectScope(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?
|
addDialectScope
public void addDialectScope(String dialectName)
Add the given dialect name to the scope of dialects to which
this database object applies.
dialectName
- The name of a dialect.
appliesToDialect
public boolean appliesToDialect(Dialect dialect)
Does this database object apply to the given dialect?
dialect
- The dialect to check against.
- True if this database object does apply to the given dialect.