When processing a domain model to build the metamodels, Hibernate needs to be careful about loading Class references. This is part of the purpose of HCANN.
However, HCANN has a huge drawback in that it This is not able to handle models which do not have a 1-1 correspondence between {{ManagedType}} and {{Class}} ( critical for supporting both dynamic models and ` “ entity-name ” mappings ) . Thus far To date , Hibernate has only supported either of those features through in its proprietary {{hbm.xml}} mappings format . Since However, since {{hbm.xml}} has been deprecated and its “extensions” moved into a defined in Hibernate’s {{orm.xml}} (JPA) extension XSD, we need to start supporting those these features in what is today called “annotation processing binding ”.
This is part of what the [proposal|https://github.com/hibernate/hibernate-orm/discussions/5998] terms the “source model” (the other part being [https://hibernate.atlassian.net/browse/HHH-15996|https://hibernate.atlassian.net/browse/HHH-15996|smart-link] ). |
|