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

Bug 312051

Summary: some WDF test fail to detect an invalid query
Product: z_Archived Reporter: Adrian Goerler <adrian.goerler>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: eclipselink.orm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: test
Attachments:
Description Flags
patch for this issue none

Description Adrian Goerler CLA 2010-05-07 09:01:12 EDT
The test 

jpa/eclipselink.jpa.wdf.test
- TestConditionalExpressions
  - testBetweenHandling1
  - testBetweenHandling4
  - testBetweenHandling8
  - testBetweenHandling11
- TestGroupByOrderByHaving
  - testGroupBy1 
  - testGroupBy2

fail to detect an invalid query. This is intended and as the type checking has been loosened. The test have got to be adapted to assert that the query under test is valid.

Moreover, the test 
- TestBuiltInFunctionsExpressions
  - testConcatHandling3
  - testUpperHandling42
  - testLengthHandling50

are skipped currently but can be altered to assert that the query under test is valid.
Comment 1 Adrian Goerler CLA 2010-05-07 09:03:05 EDT
Created attachment 167463 [details]
patch for this issue

tested on MySQL -> OK
Comment 2 Adrian Goerler CLA 2010-05-10 09:18:23 EDT
Reviewed by James
Tested on MySQL -> OK
Checked in at rev 7188
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:14:31 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:20:15 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink