[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4733) Allow to override collection behavior in components

Alex Besogonov (JIRA) noreply at atlassian.com
Tue Dec 22 21:12:29 EST 2009


Allow to override collection behavior in components
---------------------------------------------------

                 Key: HHH-4733
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4733
             Project: Hibernate Core
          Issue Type: Improvement
          Components: core
    Affects Versions: 3.3.2
            Reporter: Alex Besogonov
            Priority: Minor
         Attachments: comp_prop.diff

By default, Hibernate treats _all_ collections inside a <component> as always not-null. The attached patch allows to override this behavior on a component level.

By setting 'ignoreCollections' meta attribute to 'true' all collections are ignored during component hydration, so if no other not-null properties are present, the whole component is skipped.

-- 
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