| Summary: | Query by Example Object doesn't obey Wrapping Policy | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Jeff Domeyer <domeyerj> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | NEW --- | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | eclipselink.orm-inbox, tom.ware | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Jeff Domeyer
Created attachment 195781 [details]
proposed-patch
Comment on attachment 195781 [details]
proposed-patch
proposed-patch is garbage, doesn't fix the problem.
Turns out it was a combination of using proxies as wrappers and the values being retrieved from the proxy instead of the wrapped object. At the time of creating a query, there isn't a session from which to reference. So you can't figure out that there will be a wrapper policy later on. I think it will muddy the waters too much to try to bake something in that will retrieve a different referenceClass due to a wrapper policy after a session is executing the query. So it's probably best to just unwrap the object on our own before using the query by example functionality. Setting target and priority. See the following page for the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines Community: Please vote for this bug if it is important to you. Votes are one of the main criteria we use to determine which bugs to fix next. Investigating Just reread bug. Unassigning. Sorry for confusion The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |