Hibernate version:
Hibernate 3.1 beta 2
Mapping documents:
any from the distribution
I've noticed that the Hibernate mapping DTD has changed in at least 1 detail, the lazy attribute of the various Hibernate collections elements now supports {true, false, extra} rather than only {true, false} as in 3.0.
Given that the DTD has changed, it seems reasonable to suggest that you modify the revision of the current DTD from 3.0 to 3.1, and make it available at the appropriate URL. If the references in the distributed hbm.xml files were modified then all of the changes would be in sync.
Given that you haven't posted a 3.1 compliant DTD at your website, I was wondering why the 3.1 distribution works when a mapping file references lazy="extra", e.g. UserPermissions.hbm.xml. Is XML catalog code included in the distribution that causes the code to access the locally distributed DTD, which does include the proper lazy attribute definitions?
|