Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329596

Summary: ReportQuery resultset caching generates internal illegal argument exception
Product: z_Archived Reporter: Phillip Ross <phillip.w.g.ross>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: major    
Priority: P2 CC: tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
stacktrace generated from test code none

Description Phillip Ross CLA 2010-11-05 17:13:49 EDT
Build Identifier: Eclipse Persistence Services - 2.1.1.v20100817-r8050

When enabing query results caching on a report query, an illegal argument exception is thrown.  The query runs fine when caching is not enabled.  James Sutherland initially suggested on the mailing list that the issue was the query trying to register the resultset in the unit of work but not accounting for the query being a single valued result rather than a persistent object.

Mailing list url of the discussion of the issue:
http://dev.eclipse.org/mhonarc/lists/eclipselink-users/msg05373.html

Reproducible: Always
Comment 1 Phillip Ross CLA 2010-11-05 17:16:10 EDT
Created attachment 182534 [details]
stacktrace generated from test code
Comment 2 Tom Ware CLA 2010-11-18 08:24:01 EST
Setting target and priority.  See the following page for the meanings of these fields:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:15:19 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:29:20 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink