mapping.xsd (extension to JPA’s orm.xsd) does not support mapping the same entity class twice.
We’ve deprecated the {{hbm.xml}} format without providing any replacement way to map a class with two different entity names. We have jumped through hoops in our APIs and internal implementation to support this usage, so we should make this work. |
|