hello everybody, my <join... that i have make in red cause me a problem, it say : The content of element type "join" must match "(subselect?,comment?,key,(property|many-to-one|
component|dynamic-component|any)*,sql-insert?,sql-update?,sql-delete?)".
have you got a idea ?? thank you very much bye!
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated 24 juin 2008 18:25:54 by Hibernate Tools 3.2.1.GA -->
<hibernate-mapping>
<class name="test.Node" table="node" catalog="nod">
<id name="idFils" type="string">
<column name="id_fils" length="10" />
</id>
<discriminator column="type" type="string"/>
<property name="idPere" type="string">
<column name="id_pere" length="10" not-null="true" />
</property>
<subclass name="test.Root" discriminator-value="Root">
<join table="root">
<set name="Fils">
<key column="id_pere"/>
<one-to-many class="test.Node"/>
</set>
</join>
Code:
</subclass>
</class>
</hibernate-mapping>