I’ve just realized that we seem to simply not have any tests for an entity class with multiple mappings. There are tests for using session.persist("EntityName", instance) with Map entities, but none for regular Java classes with XML-based mappings. That’s pretty bad because this is in some sense a sort of fundamental feature of Hibernate! |