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

Bug 357839

Summary: QueryHints.BATCH queries, even if they are made to work, do not pass on the loaded rows (datasetResults) to sub-queries
Product: z_Archived Reporter: Martin Marinschek <martin.marinschek>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P2 CC: jamesssss, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Marinschek CLA 2011-09-15 12:56:54 EDT
Build Identifier: 2.2.1

Hence, the subquery of the batchquery, if it references the same entity which has already been loaded by the rootquery, will execute a select for the entity again.

Reproducible: Always
Comment 1 Tom Ware CLA 2011-10-13 13:28:37 EDT
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.
Comment 2 James Sutherland CLA 2013-07-09 15:22:22 EDT
Please include more information, otherwise this bug will be closed.

What is the query/code you are executing, and what is the result and expected result?
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:25:33 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink