Joined: Tue Sep 23, 2003 7:02 am Posts: 16
|
Hi All
I am getting some wierd errors I have investigated the problem and appears that my setup is running version 1 instead of version 2.
I am getting the following error.
<Line 12, Column 17>: XML-0137: (Error) Attribute 'role' used but not declared.
There must be some kind of configuration mistake my end that is causing this.
I am implementing the following mapping xml
<hibernate-mapping>
<class name="immedea.sportal.persistant.beans.Topic" table="topic">
<id name="ID" type="string" unsaved-value="null" >
<column name="ID" sql-type="char(32)" not-null="true"/>
<generator class="uuid.hex"/>
</id>
<set role="article" readonly="true" lazy="true">
<key column="topic_id"/>
<one-to-many class="immedea.sportal.persistant.beans.Article"/>
</set>
</class>
</hibernate-mapping>
I think that this is right but when I compile it gives me the above error.
What am I doing wrong..
I think its looking at version 1 when it should be looking at version 2.
Is there any solution to this problem
Thanks Lee
|
|