Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Ecore ODA Driver-Proposal"

Line 13: Line 13:
 
== Getting Started ==
 
== Getting Started ==
  
The Ecore ODA Driver is only available from [[#CVS|CVS]]. After checking the code out a number of dependencies may be un-met in your workspace such as: [[Connectivity|Datatools Connectivity]], [http://www.eclipse.org/modeling/emft/?project=search#search EMF Search], [http://www.eclipse.org/modeling/emf/?project=transaction#transaction EMF Transaction], and [http://www.eclipse.org/modeling/emf/?project=query#query EMF Query].
+
The Ecore ODA Driver is only available from [[#CVS|CVS]]. After checking the code out a number of dependencies may be un-met in your workspace such as: [[Connectivity|Datatools Connectivity]], [http://www.eclipse.org/modeling/emft/?project=search#search EMF Search], [http://www.eclipse.org/modeling/emf/?project=transaction#transaction EMF Transaction], and [http://www.eclipse.org/modeling/emf/?project=query#query EMF Query].  You will also need to install the EMF Model Query OCL Integration feature and the Data Tools Platform Enablement for JDBC.  Otherwise you may see assertion failures in the ConnectionProfileManager for a missing profile.  
  
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 <tt>Ecore ODA Data Source</tt>. 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|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.
+
Once these dependencies are met, you can run the BIRT Report Designer and create a new report. You might want to use the sample [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf/tests/org.eclipse.emf.test.tools/data/ant.expected/models/1.4/creation/library.xsds/emf/library.ecore?root=Modeling_Project&view=co library.ecore] and [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf/tests/org.eclipse.emf.test.tools/data/ant.expected/models/1.4/creation/library.xsds/emf/elements.ecore?root=Modeling_Project&view=co elements.ecore] to get started.  When adding a Data Source, a new type will display <tt>Ecore ODA Data Source</tt>. Selecting this Data Source and giving the name of an ecore file will allow you to enter a Data Set. This is, however, pretty much the end of the line. As explained in [[#Status|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.
  
 
== Contributors ==
 
== Contributors ==

Revision as of 12:34, 3 April 2008

Introduction

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.

Status

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.

Getting Started

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. You will also need to install the EMF Model Query OCL Integration feature and the Data Tools Platform Enablement for JDBC. Otherwise you may see assertion failures in the ConnectionProfileManager for a missing profile.

Once these dependencies are met, you can run the BIRT Report Designer and create a new report. You might want to use the sample library.ecore and elements.ecore to get started. When adding a Data Source, a new type will display Ecore ODA Data Source. Selecting this Data Source and giving the name of an ecore file will allow you to enter a Data Set. This is, however, pretty much 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.

Contributors

CVS

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.

Browse: ViewCVS

Copyright © Eclipse Foundation, Inc. All Rights Reserved.