[hibernate-issues] [Hibernate-JIRA] Issue Comment Edited: (HHH-4937) Exception while saving when using a set and an association to the same target class

Jean-Noel Rivasseau (JIRA) noreply at atlassian.com
Thu Feb 18 18:19:47 EST 2010


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

Jean-Noel Rivasseau edited comment on HHH-4937 at 2/18/10 5:19 PM:
-------------------------------------------------------------------

Just tried it on latest 3.5, it's still there. Also the zip is not really well named, it's indeed a set and not a list.

      was (Author: elvanor):
    Just tried it on latest 3.5, it's still there.
  
> Exception while saving when using a set and an association to the same target class
> -----------------------------------------------------------------------------------
>
>                 Key: HHH-4937
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4937
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3.1
>         Environment: Linux Sun JDK 1.6
>            Reporter: Jean-Noel Rivasseau
>            Priority: Critical
>         Attachments: list-association.zip
>
>
> The attached files reproduce the problem. As you will see in the source files there are different variations: if you turn off the cascade on the association, it will work.
> The exception is:
> Exception in thread "main" org.hibernate.PropertyValueException: not-null property references a null or transient value: Computer._computersBackref

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