On Sep 9, 1:04 pm, "sss.z...@gmail.com" <sss.z...@gmail.com> wrote:
> The mapping attributeparent="xxx" doesn't work
>
[quoted text clipped - 66 lines]
> this.parent=parent;
> }
I don't understand your line:
<parent name="Parent"/>
Is "parent" a valid element in the hibernate config?
To get the effect you asked, you could substitute the previous line
by:
<many-to-one name="parent" class="parenttest.Parent"
column="PARENT_ID"/>
HTH,
DAvid