Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo] mapModel problem?
[Teneo] mapModel problem? [message #423212] Wed, 24 September 2008 22:09 Go to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Hi,

Running our Teneo generated Hibernate code we get this exception

Initial SessionFactory creation failed.org.hibernate.MappingException:
Could not parse mapping document in XML string
org.hibernate.MappingException: Could not parse mapping document in XML
string
at org.hibernate.cfg.Configuration.addXML(Configuration.java:47 6)
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.mapModel( HbSessionDataStore.java:156)
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:73)

Where should we look for the cause?


Thx.

David
Re: [Teneo] mapModel problem? [message #423214 is a reply to message #423212] Wed, 24 September 2008 22:37 Go to previous message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
HI,

Never mind it was a clash of the classloaders, two versions of hibernate
clashed.

David

David Wynter wrote:
> Hi,
>
> Running our Teneo generated Hibernate code we get this exception
>
> Initial SessionFactory creation failed.org.hibernate.MappingException:
> Could not parse mapping document in XML string
> org.hibernate.MappingException: Could not parse mapping document in XML
> string
> at org.hibernate.cfg.Configuration.addXML(Configuration.java:47 6)
> at
> org.eclipse.emf.teneo.hibernate.HbSessionDataStore.mapModel( HbSessionDataStore.java:156)
>
> at
> org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:73)
>
>
> Where should we look for the cause?
>
>
> Thx.
>
> David
Previous Topic:Initialize multivalued attributes/references
Next Topic:Unable to Apply Profile to my Model
Goto Forum:
  


Current Time: Thu Apr 25 14:34:44 GMT 2024

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

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

Back to the top