Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327987 - [Query2] Supporting parameters in queries
Summary: [Query2] Supporting parameters in queries
Status: RESOLVED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Query2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-17 04:54 EDT by Ashwani Kr Sharma CLA
Modified: 2010-10-17 05:00 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ashwani Kr Sharma CLA 2010-10-17 04:54:08 EDT
Build Identifier: 

Details are as mentioned in forum link: http://www.eclipse.org/forums/index.php?t=msg&th=198593&start=0&S=0fcc1ab2eeaa0129b02fc46219f3a4d2


Reproducible: Always

Steps to Reproduce:
.
Comment 1 Ashwani Kr Sharma CLA 2010-10-17 04:58:33 EDT
Support for parameters is now added.
User can specify parameters as following query:

SelectPar2AsParameter:
from EClass as a
select a.name
where a.name = ? or ( a.abstract = ? and a.interface = ? )

To use it use the method:
QueryTransfomer.transform(query, new Object[] { .... }); method.

----------------------------------------------------------------
Implementation submitted
New test added TestTransformation in syntax.test plugin
----------------------------------------------------------------
Comment 2 Ashwani Kr Sharma CLA 2010-10-17 05:00:01 EDT
Fix done