Package org.hibernate.boot.models.xml.internal
package org.hibernate.boot.models.xml.internal
Support for processing mapping XML files and applying annotation references over the appropriate
classes,
fields and
methods.
JPA defines 2 modes for applying mapping XML information, as covered under
section 12.1 (Use of the XML Descriptor) of the specification-
- metadata-complete
- Annotations on the classes are ignored and all mapping metadata is taken from the mapping XML exclusively.
- override
- Values in the XML descriptor override or supplement the metadata define in annotations. The rules for this are fairly complex and covered in section 12.2 (XML Overriding Rules) of the specification.
-
ClassDescriptionHelper for handling persistent attributes defined in mapping XML in metadata-complete modeProcessing for JPA entity graphs from XMLHelper for handling managed types defined in mapping XML, in either metadata-complete or override modeAggregator of information from
entity-mappings/persistence-unit-metadata
andentity-mappings/persistence-unit-metadata/persistence-unit-defaults
across all mapping XML files in the persistence-unit.Processing of queries from XMLAdapts ClassLoading as a ResourceStreamLocatorHelper for creating annotation from equivalent JAXBCommon helper utilities for handling mapping XML processing