Plugins (1067)


Training and Consulting (40)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 539
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
garethviljoen
Post subject: Mapping files incorrectly generated  PostPosted: Jul 13, 2006 - 10:42 AM
Guest





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 ?
 
   
Reply with quote Back to top
back2grave
Post subject:   PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits