| Summary: | coalesce can not be overwritten by a db-platform | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Andreas Fischbach <andreas.fischbach> | ||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P2 | CC: | adrian.goerler, eclipselink.orm-inbox, sabine.heider, tom.ware | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows Server 2003 | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 284657 | ||||||||
| Attachments: |
|
||||||||
|
Description
Andreas Fischbach
Setting initial target and priority. Please feel free to change either of these values when you know what the target is. Created attachment 180062 [details]
Rought Suggestion for a fix
I am attaching a patch that should allow coalesce to be overridable. I have done some minimal testing on it, but it it still needs full testing.
Created attachment 180207 [details]
Rough patch
adding a prototype for a patch. testing and review is still required.
Tested successfully on MaxDB, which requires overwriting "COALESCE" by "VALUES". As we are targeting the MaxDB platform for 2.2, we'd need this patch in 2.2 as well. Fixed in trunk. The fix changes coalesce, case, and caseCondition to get their Operator by lookup instead of creating it each time it is called. The fix also makes some changes to the flow in ArgumentListExpressionOperator to allow it to be overridden. Tested manually. Automated testing coming with implementation of bug 284657. Reviewed by Chris Delahunt The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |