Package org.hibernate.boot.model
package org.hibernate.boot.model
This package defines the boot-time metamodel, which is an interpretation
of the domain model (entity classes, embeddable classes, and attributes)
and the mapping of these "domain model parts" to the database. It is
built incrementally from
annotations and XML-based mappings.
The interfaces TypeContributor
and
FunctionContributor
allow a program
or library to contribute custom types and type descriptors, and
custom function descriptors, respectively, to Hibernate during the
bootstrap process.
- Implementation Note:
- Ultimately, as part of the process of creating the
SessionFactory
, Hibernate transforms this boot-time metamodel to its runtime mapping metamodel.
-
ClassDescriptionModels the information for custom SQL execution defined as part of the mapping for a primary or secondary table.Allows custom function descriptors to be contributed to the eventual
SqmFunctionRegistry
, either by aDialect
or by aFunctionContributor
.On object that contributes custom HQL functions, eventually to aSqmFunctionRegistry
, via an instance ofFunctionContributions
.Models the definition of an identifier generatorModels a @NamedEntityGraphAllows custom types and type descriptors to be contributed to the eventualTypeConfiguration
, either by aDialect
or by aTypeContributor
.On object that contributes custom types and type descriptors, eventually to aTypeConfiguration
, via an instance ofTypeContributions
.Models the information pertaining to a custom type definition supplied by the user.Basic implementation ofTypeDefinitionRegistry
.