Hibernate Synchronizer - Mapping files incorrectly generated Anonymous - Jul 13, 2006 - 10:42 AM Post subject: Mapping files incorrectly generated
I'm trying to generate mapping files using Synchronizer, but get this error
The content of element type "class" is incomplete, it 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)*)".
This is from an Oracle database. I'm using Eclipse 3.2 and Hibernate Synchronizer 3.1.9
My mapping file looks like this:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
Can someone please help ?
back2grave - Feb 27, 2008 - 06:10 PM Post subject:
I'm getting the similar exception. Is that something to do with the environment. Any pointer will be highly appreciated.