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

Bug 326962

Summary: MaxDB:can't compare two parameters
Product: z_Archived Reporter: Adrian Goerler <adrian.goerler>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: andreas.fischbach, dieskun, eclipselink.orm-inbox, sabine.heider
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=304897
Whiteboard: test maxdb
Bug Depends on:    
Bug Blocks: 284657    
Attachments:
Description Flags
patch skipping queries with "WHERE ? = ?" on MaxDB (and Symfoware) none

Description Adrian Goerler CLA 2010-10-04 15:01:25 EDT
The tests 
JUnitJPQLSimpleTestSuite.testOneEqualsOne and 
JUnitCriteriaSimpleTestSuite.testOneEqualsOne 

execute a query with the where condition

WHERE ? = ?

MaxDB can't compare two parameters in the WHERE clause. 

The tests should be skipped on MaxDB.
Comment 1 Adrian Goerler CLA 2010-10-04 15:27:11 EDT
Created attachment 180203 [details]
patch skipping queries with "WHERE ? = ?" on MaxDB (and Symfoware)
Comment 2 Adrian Goerler CLA 2010-10-11 02:50:30 EDT
Tested on MaxDB, MySQL.
Reviewed by Tom.
Checked in at #8344.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:32:31 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink