Skip to main content
Jump to: navigation, search

CDO/Hibernate Store/Download and Install

< CDO‎ | Hibernate Store
Revision as of 17:24, 20 January 2010 by Mtaal.elver.org (Talk | contribs) (Required plugins/versions)


This page describes the required software components, their versions and download locations. Also the location of the example Eclipse projects is listed on this page.

Required plugins/versions

The CDO_Hibernate_Store for CDO 3.0 requires the following software:

  • Eclipse 3.6 (Helios)
  • EMF 2.6
  • CDO 3.0
  • Hibernate 3.3.2 or later
  • Teneo 1.2.0
  • JDBC drivers for relevant databases

All the software should be installed/installed as plugins. The download location of all the required plugins are listed in the next sections.

Download locations

To download Eclipse 3.6 (Helios). At this time (January 2010) Eclipse 3.6 is still under development so to download it go to this page: http://www.eclipse.org/downloads/ and then the Development Builds tab. To follow the tutorials the Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers can be used (no need to pick the full modeling tools).

EMF is probably included in the Eclipse IDE. But if it isn't then it can be downloaded here: http://www.eclipse.org/modeling/emf/downloads/?project=emf (see the maintenance builds a bit lower on the page):

To download the CDO plugins visit this page: https://build.eclipse.org/hudson/job/cbi-emf-net4j-cdo-3.0/lastSuccessfulBuild/artifact/build and then click on Nxyz (where xyz is a date) to open the nightly build location. The easiest is to download the all features and plugins zip: emf-cdo-AllFeaturesAndPlugins-N201001181004.zip (with a different date in your case ofcourse)

Teneo Hibernate 1.2.0 can be downloaded here: http://www.eclipse.org/modeling/emf/downloads/?project=teneo (Teneo 1.2.0 can be found a little lower on the page)

Download hibernate and database drivers (mysql and hsqldb) from here: http://net4j.sourceforge.net/update/downloads/ then select a recent ThirdPartyyDrivers zip file (for the tutorials the ThirdPartyDrivers_v6.zip was used).

Installing the plugins

The plugins can be installed using p2. For the tutorials the downloaded zip files were unzipped directly over the eclipse install directory. So the features/plugins in the zip file were placed directly inside the eclipse/features and eclipse/plugins directory. Check that the eclipse.ini file has a -clean option and then restart eclipse.

After restarting Eclipse you can visit the Help > About Eclipse > Installation Details (a button). It should show the installed plugins as shown below.

Org.eclipse.emf.cdo.hibernate.plugins.png

Example Projects

The CDO Hibernate store tutorials make use of 3 Eclipse projects:

  • org.eclipse.emf.cdo.examples.company: contains the example model which has already been prepared for CDO (see here how this is done)
  • org.eclipse.emf.cdo.examples.hibernate.server: contains the server configuration and server side part of the tutorial
  • org.eclipse.emf.cdo.examples.hibernate.client: shows client connection code and contains junit tests creating and querying for data

The cvs location of these projects is here:

  • dev.eclipse.org
  • /cvsroot/modeling
  • paths:
    • org.eclipse.emf/org.eclipse.emf.cdo/examples/org.eclipse.emf.cdo.examples.company
    • org.eclipse.emf/org.eclipse.emf.cdo/examples/org.eclipse.emf.cdo.examples.hibernate.server
    • org.eclipse.emf/org.eclipse.emf.cdo/examples/org.eclipse.emf.cdo.examples.hibernate.client



Wikis: CDO | Net4j | EMF | Eclipse

Back to the top