Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338164 - [Query2] No support for BigInteger or java.util.Date
Summary: [Query2] No support for BigInteger or java.util.Date
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Query2 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-24 17:59 EST by jgielstra Mising name CLA
Modified: 2011-06-01 00:27 EDT (History)
1 user (show)

See Also:


Attachments
Hacked up support for Date and BigInteger (12.35 KB, patch)
2011-02-24 18:03 EST, jgielstra Mising name CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jgielstra Mising name CLA 2011-02-24 17:59:03 EST
Build Identifier: 20100917-0705

There is no support for some common EMF datatypes like Date, XMLCalendar, and BigInteger.

I "hacked" some support for these

Reproducible: Always

Steps to Reproduce:
1. Try a MQL Where clause comparing a date
  "select a from [ ... ] as a where a.dateVal < '01/01/2010' "

2.  Failure indicating an invalid data type
Comment 1 jgielstra Mising name CLA 2011-02-24 18:03:34 EST
Created attachment 189758 [details]
Hacked up support for Date and BigInteger
Comment 2 saurav sarkar CLA 2011-06-01 00:26:29 EDT
Hi,

Fix for the problem have been submitted.
Now Data and BigInteger support is there for String syntax and Object based formats.

Check TestQueryBugs.java for an example.
cheers,
Saurav
Comment 3 saurav sarkar CLA 2011-06-01 00:27:35 EDT
code submitted to cvs.