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

Gail Badner (JIRA) noreply at atlassian.com
Thu May 6 15:32:48 EDT 2010


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

Gail Badner commented on HHH-5201:
----------------------------------

I believe HHH-4803 is specific to Envers. Are you using Envers?

Another issue that sounds like this one is HHH-3798, which may have been fixed by HHH-4991.

Please checkout the source code from http://anonsvn.jboss.org/repos/hibernate/core/trunk/ and let us know if you have the same problem.

If you do then:

* update an existing test or add a new test to testsuite (if HHH-3798 is similar, then try the test case attached to that issue)
* attach a patch with the updated/added unit test using svn diff

Thanks,
Gail

> 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