Top Description Methods
org.hibernate.mapping

public Interface AuxiliaryDatabaseObject

extends RelationalModel, Serializable
Known Direct Implementers
org.hibernate.mapping.AbstractAuxiliaryDatabaseObject
Imports
java.io.Serializable, org.hibernate.dialect.Dialect

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

Modifier and TypeMethod and Description
public void
addDialectScope(String
The name of a dialect.
dialectName
)

Add the given dialect name to the scope of dialects to which this database object applies.

public boolean

Returns:

True if this database object does apply to the given dialect.
appliesToDialect
(Dialect
The dialect to check against.
dialect
)

Does this database object apply to the given dialect?

Inherited from org.hibernate.mapping.RelationalModel:
sqlCreateStringsqlDropString

Method Detail

addDialectScopeback to summary
public void addDialectScope(String dialectName)

Add the given dialect name to the scope of dialects to which this database object applies.

Parameters
dialectName:String

The name of a dialect.

appliesToDialectback to summary
public boolean appliesToDialect(Dialect dialect)

Does this database object apply to the given dialect?

Parameters
dialect:Dialect

The dialect to check against.

Returns:boolean

True if this database object does apply to the given dialect.