[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4874) Embedded Objects get set to null if all its members are null

Tobias Roeser (JIRA) noreply at atlassian.com
Wed Jun 2 10:34:35 EDT 2010


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

Tobias Roeser commented on HHH-4874:
------------------------------------

Maybe adding a boolean parameter 'nullable' to @Embedded which defaults to false could be an easy solution?


> Embedded Objects get set to null if all its members are null
> ------------------------------------------------------------
>
>                 Key: HHH-4874
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4874
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: annotations
>            Reporter: Srinath
>
> Embedded Objects get set to null if all its members are null.i am facing this problem when i am having @Embeddable properties are null.even i creating instance in Parent class no-argument constructor.is there any other way to overcome from this issue?
> Thanks

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