Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » org.eclipse.emf.teneo.hibernate: invalid mapping
org.eclipse.emf.teneo.hibernate: invalid mapping [message #620114] Mon, 14 July 2008 13:36
Alexey Dubrovskiy is currently offline Alexey DubrovskiyFriend
Messages: 2
Registered: July 2009
Junior Member
Hello!

I have a problem to initialize my HbDataStore from an EPackage:

Exception:
15:14:23 ERROR org.hibernate.util.XMLHelper ==> Error parsing XML: XML
String(1809) The content of element type "subclass" must match
" (meta*,tuplizer*,synchronize*,(property|many-to-one|one-to-o ne|component|dynamic-component|any|map|set|list|bag|idbag|ar ray|primitive-array)*,join*,subclass*,loader?,sql-insert?,sq l-update?,sql-delete?,resultset*,(query|sql-query)*) ".
org.hibernate.MappingException: invalid mapping
at org.hibernate.cfg.Configuration.addXML(Configuration.java:38 2)
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.mapModel( HbSessionDataStore.java:156)
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:73)

XML cutting:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
...
<subclass name="test.ServerPublisher" entity-name="ServerPublisher"
abstract="true" lazy="false" extends="MessageReceiver"
discriminator-value="ServerPublisher">
...
Previous Topic:[GMF + Hibernate] Multiple inheritance
Next Topic:org.eclipse.emf.teneo.hibernate: invalid mapping
Goto Forum:
  


Current Time: Sun Mar 29 16:50:53 GMT 2020

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

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

Back to the top