[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-66?page...
]
Brandon Munroe updated HSEARCH-66:
----------------------------------
Attachment: MaxResults.zip
I have created a test case that demonstrates the problems we are having, it is attached.
Without commenting out criteria.setMaxResults in QueryLoader, the test returns 1 out of
the two expected results, and on that one result, the number of embedded objects is 2 out
of the 4 that are added to the Set. Commenting out the criteria.setMaxResults line causes
the test to pass.
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: MaxResults.zip, 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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira