[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5201) Proxy objects can't fetch lazy loaded referenced objects

Guy Loewy (JIRA) noreply at atlassian.com
Thu May 6 12:54:48 EDT 2010


Proxy objects can't fetch lazy loaded referenced objects
--------------------------------------------------------

                 Key: HHH-5201
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5201
             Project: Hibernate Core
          Issue Type: Bug
    Affects Versions: 3.5.1
         Environment: JBoss 5.1, Windows, hsqldb/oracle/db2
            Reporter: Guy Loewy
            Priority: Blocker


Upgrading from v3.3.2 to v3.5.1 we encountered issues of "missing" data coming from the database.
After analyzing the issues, it seems that the data is in the database and also available in the actual beans, but not in the proxy objects.
Trying to read the data from the proxy returns a null value and the only work around we found was to do a separate hibernate query that forces the lazy loaded referenced object to load, in order to fix that issue with the proxy object. 

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