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

Bug 337869

Summary: A JPQL query used for testing does not follow JPQL grammar
Product: z_Archived Reporter: Pascal Filion <pascal.filion>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david.minsky, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: simple_fix
Attachments:
Description Flags
Testing changes to JUnitJPQLComplexTestSuite none

Description Pascal Filion CLA 2011-02-22 12:36:57 EST
Build Identifier: 2.2.0.v20110107-r8783

JUnitJPQLComplexTestSuite.variableReferencedOnlyInParameterTest()
The JPQL query "SELECT SIZE(e.firstName) FROM Employee e" is not valid since SIZE returns the number of elements of a collection and firstName is a basic mapping. Validation may fail here.

Reproducible: Always
Comment 1 David Minsky CLA 2011-02-24 15:28:58 EST
Created attachment 189744 [details]
Testing changes to JUnitJPQLComplexTestSuite
Comment 2 David Minsky CLA 2011-02-24 16:02:48 EST
Fixed in trunk (2.3) at revision: 9029
Reviewed: Tom Ware
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:15:40 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:18:46 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink