Interface AuxiliaryDatabaseObject

All Superinterfaces:
RelationalModel, Serializable
All Known Implementing Classes:
AbstractAuxiliaryDatabaseObject, SimpleAuxiliaryDatabaseObject

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.
  • Method Details

    • addDialectScope

      void addDialectScope(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.