Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337869 - A JPQL query used for testing does not follow JPQL grammar
Summary: A JPQL query used for testing does not follow JPQL grammar
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard: simple_fix
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 12:36 EST by Pascal Filion CLA
Modified: 2022-06-09 10:18 EDT (History)
2 users (show)

See Also:


Attachments
Testing changes to JUnitJPQLComplexTestSuite (935 bytes, patch)
2011-02-24 15:28 EST, David Minsky CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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