[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3205?page=c...
]
Andreas Brudin commented on HHH-3205:
-------------------------------------
This would really help. Now I have to use a custom dtd, but it would of course be
preferable to use the official one.
Dtd is missing lazy attribute for <map-key-many-to-many> and
<index-many-to-many>
---------------------------------------------------------------------------------
Key: HHH-3205
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3205
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.2.6
Environment: All
Reporter: Arjan Veenstra
Attachments: dtd.patch
The dtd found at
http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd is does not
specify a lazy propery for the <map-key-many-to-many> and
<index-many-to-many>. As a result it is impossible to create a map which doesn't
lazy-load it's key value. (default-lazy="false" does not help either.)
Using a custom dtd (see attached patch) the lazy property can be specified and works as
expected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira