Hibernate version:3.0
Hibernate Tools version:3.0 Alpha 1
I am using the Xml Editor (JBoss-IDE) in Eclipse (3.1M6) to edit a simple mapping file. If I add the follwing line to the class, I get an error message. If I remove the offending line, I do not see any error. I am not sure if I am making a mistake or if this is a bug.
The offending like is:
<version name="version"/>
The error message is:
The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,(id|composite-id),discriminator?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array|query-list)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*)". provider.hbm.xml
Thanks for your help.
-Hemant
|