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.
-
Interface Summary Interface Description FunctionContributions Allows custom function descriptors to be contributed to the eventualSqmFunctionRegistry
, either by aDialect
or by aFunctionContributor
.FunctionContributor On object that contributes custom HQL functions, eventually to aSqmFunctionRegistry
, via an instance ofFunctionContributions
.JavaTypeDescriptor TypeContributions Allows custom types and type descriptors to be contributed to the eventualTypeConfiguration
, either by aDialect
or by aTypeContributor
.TypeContributor On object that contributes custom types and type descriptors, eventually to aTypeConfiguration
, via an instance ofTypeContributions
.TypeDefinitionRegistry -
Class Summary Class Description Caching Deprecated. will move toorg.hibernate.boot.model.source.spi
, where its only uses areCustomSql Models the information for custom SQL execution defined as part of the mapping for a primary or secondary table.IdentifierGeneratorDefinition Models the definition of an identifier generatorIdentifierGeneratorDefinition.Builder NamedEntityGraphDefinition Models a @NamedEntityGraphTypeBeanInstanceProducer BeanInstanceProducer
implementation for building beans related to custom types.TypeDefinition Models the information pertaining to a custom type definition supplied by the user.TypeDefinitionRegistryStandardImpl Basic implementation ofTypeDefinitionRegistry
. -
Enum Summary Enum Description TruthValue An enumeration of truth values.TypeDefinitionRegistry.DuplicationStrategy