Ecore ODA Driver-Proposal
The Ecore ODA Driver is a proposed component of the DTP Incubator project. It will provide the ability to query Ecore models using OCL by implementing the Open Data Access (ODA) API. The restriction to use OCL (text-based) queries is based on the design of the ODA API. EMF Queries may be supported at runtime in the future.
Initial code has been committed (see CVS, below) but the code is not yet complete. While most of the driver itself is in place the UI requires some finish work.
Contribution tracked at Bugzilla 132958.
It is hoped that a useful release will be complete in time for Ganymede.
The Ecore ODA Driver is only available from CVS. After checking the code out a number of dependencies may be un-met in your workspace such as: Datatools Connectivity, EMF Search, EMF Transaction, and EMF Query.
Once the code compiles correctly, you can run the BIRT Report Designer and create a new report. When adding a Data Source a new type will display Ecore ODA Data Source. Selecting this Data Source and giving it a name will allow you to enter a Data Set. This is, however, the end of the line. As explained in Status, above, the code is not yet complete. Column selection has not been implemented and the code currently in CVS does not correctly persist preferences.
The Ecore ODA Driver and UI can be checked out of CVS from the Datatools_Project Repository of dev.eclipse.org with a path of org.eclipse.datatools.incubator/plugins.