Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327225 - MaxDB: JPQL date/time functions current_date, current_time are not mapped properly
Summary: MaxDB: JPQL date/time functions current_date, current_time are not mapped pro...
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: Adrian Goerler CLA
QA Contact:
URL:
Whiteboard: maxdb
Keywords:
Depends on:
Blocks: 284657
  Show dependency tree
 
Reported: 2010-10-07 08:59 EDT by Adrian Goerler CLA
Modified: 2022-06-09 10:07 EDT (History)
4 users (show)

See Also:


Attachments
fix for maxdb (2.84 KB, patch)
2010-10-07 12:40 EDT, Adrian Goerler CLA
no flags Details | Diff
improve documentation of ExpressionOperators; Mix test to use currentDateDate method as attribute compared has type java.sql.Date (2.48 KB, patch)
2010-10-07 12:42 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-07 08:59:31 EDT
On maxDB, the JPQL date/time functions 
current_date, current_time and current_timestamp need to be mapped to DATE, TIME and TIMESTAMP respectively.
Comment 1 Adrian Goerler CLA 2010-10-07 12:40:46 EDT
Created attachment 180437 [details]
fix for maxdb
Comment 2 Adrian Goerler CLA 2010-10-07 12:42:14 EDT
Created attachment 180438 [details]
improve documentation of ExpressionOperators; Mix test to use currentDateDate method as attribute compared has type java.sql.Date
Comment 3 Adrian Goerler CLA 2010-10-07 12:50:50 EDT
Comment on attachment 180438 [details]
improve documentation of ExpressionOperators; Mix test to use currentDateDate method as attribute compared has type java.sql.Date

tested on MaxDB, MySQL
Comment 4 Adrian Goerler CLA 2010-10-11 02:36:37 EDT
Fix for MaxDB checked in at #8342.

Fix for core checked in at #8342.

Reviewed by Tom.
Tested on MaxDB, MySQL.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:07:40 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink