max wrote:
What has changed on the minimal definition ?
In the appended mapping file for a node in a tree, the old minimal constructor had 3 arguments -- position, vocabulary, children, the new has just 2, position and vocabulary. The new behavior makes more sense to me than the old, so maybe this counts as a fixed bug rather than changed behavior.
Code:
<class name="VocabularyItem" ... >
...
<set name="children" inverse="true" sort="natural">
<key column="PARENT_ID"/>
<one-to-many class="VocabularyItem"/>
</set>
<many-to-one name="parent" class="VocabularyItem"
not-null="false" column="PARENT_ID"/>
<property name="position" type="integer" not-null="true" />
<many-to-one name="vocabulary" class="Vocabulary"
column="VOCAB_ID" not-null="true"/>
</class>