| Author |
Message |
|
|
Post subject: Mapping files incorrectly generated
Posted: Jul 13, 2006 - 10:42 AM
|
|
|
|
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 ? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 27, 2008 - 06:10 PM
|
|
Joined: Feb 27, 2008
Posts: 1
|
|
| I'm getting the similar exception. Is that something to do with the environment. Any pointer will be highly appreciated. |
|
|
| |
|
|
|
 |
|
|
| |