站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

AuxiliaryDatabaseObject (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.mapping
Interface AuxiliaryDatabaseObject

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

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.

Author:
Steve Ebersole

Method Summary
 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?
 
Methods inherited from interface org.hibernate.mapping.RelationalModel
sqlCreateString, sqlDropString
 

Method Detail

addDialectScope

public 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

public 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.