[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: [Teneo] Error parsing XML

Hi Rakesh,
Yes if you can post the ecore and the mapping then I can take a look at it. These type of issues are most of the time easy to find.


gr. Martin

Rakesh wrote:
Hello,

I am new to Teneo. When I tried to persist the library ecore model (one that comes with EMF tutorial), it was successful. Then I moved on to persist a slightly bigger ecore model and I am facing problems of "org.hibernate.MappingException: invalid mapping", followed by the error messages like
1688 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML String(69) The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,resultset*,(query|sql-query)*)".



I saw a similar post (with subject line: org.eclipse.emf.teneo.hibernate: invalid mapping) in this newsgroup but the conversation in that post was not complete.
Please let me know what could be the problem. Should I need to provide the mapping file and the ecore file I am working on?


Thanks in Advance,
Rakesh




--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxxxxxxxx - mtaal@xxxxxxxxx
Web: www.springsite.com - www.elver.org