[seam-issues] [JBoss JIRA] (SEAMREMOTING-44) Remoting Model API lazy fields initialized automatically on Glassfish and AS7

Jason Porter (Resolved) (JIRA) jira-events at lists.jboss.org
Tue Dec 13 00:14:09 EST 2011


     [ https://issues.jboss.org/browse/SEAMREMOTING-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Porter resolved SEAMREMOTING-44.
--------------------------------------

    Resolution: Done


Fixed the glassfish side
                
> Remoting Model API lazy fields initialized automatically on Glassfish and AS7
> -----------------------------------------------------------------------------
>
>                 Key: SEAMREMOTING-44
>                 URL: https://issues.jboss.org/browse/SEAMREMOTING-44
>             Project: Seam Remoting
>          Issue Type: Bug
>    Affects Versions: 3.0.0.Final, 3.1.0.CR1
>         Environment: seam remoting 3.0.1-SNAPSHOT, glassfish 3.1.1.b12 with default persistence provider (eclipselink) || jboss-as-7.1.0.Alpha1-SNAPSHOT with default persistence provider (hibernate 4)
>            Reporter: Marek Schmidt
>            Assignee: Shane Bryzak
>             Fix For: 3.1.0.Final
>
>
> Lazy fields, such as
> {noformat}
> @OneToMany(fetch = FetchType.LAZY, mappedBy = "person",
>             cascade = CascadeType.ALL, orphanRemoval = true)
>     public Collection<Address> getAddresses() {
>         return addresses;
>     }
> {noformat}
> are loaded automatically in the model on AS7 and Glassfish. On JBoss AS 6, the field is works correctly and is undefined unless explicitly expanded.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list