Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Teneo/Hibernate/GMF
Teneo/Hibernate/GMF [message #651294] Fri, 28 January 2011 18:27 Go to next message
Joao S is currently offline Joao SFriend
Messages: 51
Registered: January 2011
Member
Hello everyone,

I am a beginner in TENEO/HIBERNATE/GMF.

I have already finished mindmap tutorial, but now I´m tryng to persist my diagram in a database as in this tutorial:

http://wiki.eclipse.org/Teneo/Hibernate/GMF

I´m getting the following exception:
java.lang.NoSuchMethodError: org.hibernate.mapping.SimpleValue.<init>(Lorg/hibernate/mapping/Table;)V
	at org.eclipse.emf.teneo.hibernate.HbDataStore.addContainerMappingToPC(HbDataStore.java:1187)
	at org.eclipse.emf.teneo.hibernate.HbDataStore.addContainerMapping(HbDataStore.java:1172)
	at org.eclipse.emf.teneo.hibernate.HbDataStore.addContainerMapping(HbDataStore.java:1124)
	at org.eclipse.emf.teneo.hibernate.HbDataStore.addContainerMappings(HbDataStore.java:872)
	at org.eclipse.emf.teneo.hibernate.HbDataStore.initializeDataStore(HbDataStore.java:329)
	at org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initialize(HbSessionDataStore.java:85)
	at mindmap.diagram.db.StoreController.initializeDataStore(StoreController.java:85)
	at mindmap.diagram.part.MindmapDiagramEditorPlugin.start(MindmapDiagramEditorPlugin.java:96)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
	... 80 more


I´ve been around this for hours and I still don´t have a clue...does somedy has a hint?

Thanks!
Joao

[Updated on: Fri, 28 January 2011 18:27]

Report message to a moderator

Re: Teneo/Hibernate/GMF [message #651522 is a reply to message #651294] Mon, 31 January 2011 14:37 Go to previous messageGo to next message
Joao S is currently offline Joao SFriend
Messages: 51
Registered: January 2011
Member
Hello!

I´ve been around this same issue, and trying some other simple examples I found that I keep getting this same exception if I have a containment reference.

If my Emf Diagram doesn´t has a containment reference it runs just fine.

Any idea?

Thans,
Joao
Re: Teneo/Hibernate/GMF [message #651779 is a reply to message #651294] Tue, 01 February 2011 15:22 Go to previous message
Joao S is currently offline Joao SFriend
Messages: 51
Registered: January 2011
Member
Hello everyone!

I finally got it.

I´m using Eclipse 3.6 with EMF 2.6.

I was using Teneo 1.1.2, now I updated Teneo to 1.2 and it runs just fine!

Joao
Previous Topic:Get the name and the path of the active diagram
Next Topic:OCL - Link Constraint
Goto Forum:
  


Current Time: Thu Apr 25 05:52:29 GMT 2024

Powered by FUDForum. Page generated in 0.03005 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top