Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326962 - MaxDB:can't compare two parameters
Summary: MaxDB:can't compare two parameters
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard: test maxdb
Keywords:
Depends on:
Blocks: 284657
  Show dependency tree
 
Reported: 2010-10-04 15:01 EDT by Adrian Goerler CLA
Modified: 2022-06-09 10:32 EDT (History)
4 users (show)

See Also:


Attachments
patch skipping queries with "WHERE ? = ?" on MaxDB (and Symfoware) (11.06 KB, patch)
2010-10-04 15:27 EDT, Adrian Goerler CLA
no flags Details | Diff

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