When processing a domain model to build the metamodels, Hibernate needs to be careful about loading Class references.
This is critical for supporting both dynamic models and “entity-name” mappings , as well as runtime bytecode enhancement . To date, Hibernate has only supported those features dynamic models and “entity-name” mappings in its proprietary {{hbm.xml}}format. However, since {{hbm.xml}} has been deprecated and its “extensions” defined in Hibernate’s {{orm.xml}} (JPA) extension XSD, we need to start supporting these features in what is today called “annotation 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] ). |
|