public interface AuxiliaryDatabaseObject extends RelationalModel, 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.
Modifier and Type | Method and Description |
---|---|
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?
|
sqlCreateString, sqlDropString
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.boolean appliesToDialect(Dialect dialect)
Does this database object apply to the given dialect?
dialect
- The dialect to check against.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.