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

Bug 333889

Summary: ObjectBuilders for Aggregate descriptors do not appear to be initialized
Product: z_Archived Reporter: Pascal Filion <pascal.filion>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: jpql-parser-conflict

Description Pascal Filion CLA 2011-01-10 12:36:33 EST
Build Identifier: 2.2.0.v20110107-r8783

ObjectBuilders for Aggregate descriptors do not appear to be initialized, so the attributesByName map is not populated.

Reproducible: Always

Steps to Reproduce:
When running the following unit-tests
   JUnitJPQLComplexTestSuite.complexNavigatingEmbedded()
   JUnitJPQLComplexTestSuite.complexNavigatingTwoLevelOfEmbeddeds()
    JUnitJPQLComplexTestSuite.mappedKeyMapContainerPolicyNavigateMapKeyInEntityTest()

SelectNode.applyToQuery() calls
 readQuery.setShouldBuildNullForNullPk(this.hasOneToOneSelected(context));
 which calls hasOneToOneSelected(Node node, GenerationContext context)
 which calls !selectingDirectToField(node, context) 
 which tries to traverse the state field path expression but is unable 
 to find a mapping.
Comment 1 Tom Ware CLA 2011-01-26 14:48:40 EST
Setting target and priority.  See the following page for the meanings of these fields:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:18:45 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink