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

Guy Loewy (JIRA) noreply at atlassian.com
Tue May 11 16:44:24 EDT 2010


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

Guy Loewy commented on HHH-5201:
--------------------------------

Thanks Gail.

I am not using Envers, but unfortunately, trying to get the code from the trunk doesn't work.
For some reason I'm missing classes and other code stops compiling.

It sounds reasonable that HHH-3798 could be the same issue as what I'm seeing.
I'll wait for 3.5.2 to verify the fix works also for me.

Thanks,
Guy.


> 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