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

Bug 338164

Summary: [Query2] No support for BigInteger or java.util.Date
Product: [Modeling] EMF Reporter: jgielstra Mising name <jgielstra>
Component: Query2Assignee: Project Inbox <emf.query2-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: saurav.sarkar1
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Hacked up support for Date and BigInteger none

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.