[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-1158) Newly persisted entites many-to-one accessors return null.

Emmanuel Bernard (JIRA) jira-events at lists.jboss.org
Mon Dec 10 07:45:52 EST 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-1158?page=all ]

Emmanuel Bernard resolved EJBTHREE-1158.
----------------------------------------

    Resolution: Rejected
      Assignee: Emmanuel Bernard

Returning null is perfectly valid. The spec != Sun's implementation.

> Newly persisted entites many-to-one accessors return null.
> ----------------------------------------------------------
>
>                 Key: EJBTHREE-1158
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1158
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: AS 4.2.1.GA
>         Environment: Linux, SuSE 9.3
>            Reporter: Gunnar Grim
>         Assigned To: Emmanuel Bernard
>
> After persisting a new entity all accessors for one-to-many relationships are null instead of an empty set. The accessors are tagged with @OneToMany and FetchType.LAZY. The same application behaves correctly on Sun AS 9.1 with toplink.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list