[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-66) Proxied Objects Not Returned By Queries

Brandon Munroe (JIRA) noreply at atlassian.com
Fri Jun 1 11:37:04 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27099 ] 

Brandon Munroe commented on HSEARCH-66:
---------------------------------------

The total returned elements in the original case found should have been 9, beta2 was returning 3.  I have found another issue where an element returned does not have all the elements of its collection returned.  It appears to be coming from the same source, though the patch I had provided does not solve it.  I am working on both isolating the issue and creating a test case, so far I can't figure out why only certain instances have this problem.

> Proxied Objects Not Returned By Queries
> ---------------------------------------
>
>                 Key: HSEARCH-66
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-66
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 3.0.0.beta2
>            Reporter: Brandon Munroe
>         Attachments: patch.txt
>
>
> A query that previously functioned in 3.0.0.beta1 now only returns a subset of the objects.  Entering the exact query into Luke returns the same results as were returned in beta1, not those returned in beta2.  Further investigation reveals that any objects that are CGLIB-enhanced are not returned to the query.  Using the unproxy(Object) method from the DocumentBuilder in the QueryLoader.load method resolves the issue.  Patch is attached.

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