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 is not able to handle models which do not have a 1-1 correspondence between ManagedType and Class (dynamic models and `entity-name mappings). Thus far, Hibernate has only supported either of those features through hbm.xml mappings. Since hbm.xml has been deprecated and its “extensions” moved into a orm.xml extension XSD, we need to start supporting those features in “annotation processing”. |