[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3205) Dtd is missing lazy attribute for <map-key-many-to-many> and <index-many-to-many>

Arjan Veenstra (JIRA) noreply at atlassian.com
Wed Mar 26 08:23:34 EDT 2008


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: Hibernate3
          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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list