Eclipse Plugin Central

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" >

<hibernate-mapping package="com.myapp.model">
<class
name="Attorney"
table="ATTORNEY"
>
<meta attribute="sync-DAO">false</meta>

</class>
</hibernate-mapping>

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.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits