HomeEMF HibernateEMF JDO/JPOXWeb App GenerationServices
 

Running the GMF Editor

To run the diagram start a second workbench. The second workbench should show a menu popup as displayed in the image.

Open Diagram

Select this option and the diagram editor should open and allow you to maintain the diagram.

Hibernate XML Resource

This tutorial makes use of a specific implementation of EMF resource for Hibernate, nl. the HibernateXMLResource. For more information regarding the use of this type of resource see here.

Possible issues

If you get this exception then you did not set the Eclipse-BuddyPolicy in the plugin containing the Hibernate libraries (see here):

org.hibernate.MappingException: Could not determine type for: 
	org.eclipse.emf.teneo.hibernate.mapping.econtainer.EContainerUserType, for columns: [org.hibernate.mapping.Column(econtainer_class), org.hibernate.mapping.Column(e_container)]
at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:266)
at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:253)
at org.hibernate.mapping.Property.isValid(Property.java:185)