| Summary: | [Query2] Supporting parameters in queries | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Ashwani Kr Sharma <ashw.kumar> |
| Component: | Query2 | Assignee: | Project Inbox <emf.query2-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Ashwani Kr Sharma
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
----------------------------------------------------------------
Fix done |