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

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Wed Aug 10 10:59:26 EDT 2011


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


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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list