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

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Nov 20 15:04:09 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34707#action_34707 ] 

Steve Ebersole commented on HHH-3205:
-------------------------------------

Can someone please write a test case?  

How do I know your patch does what you say it does?  How do I know it does not introduce regressions?  How do I know later changes do not introduce regressions into your changes?


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

        


More information about the hibernate-issues mailing list