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?