And it keeps getting worse: I had forgotten that there JPA @Entity(name) is not the same thing as the hbm.xml entity-name, and we treat it merely as an abbreviation used in HQL queries. So right now there’s actually no way to specify a (Hibernate) entity name in annotations, nor in orm.xml, and you have to use hbm.xml. |