Hello, I have a component in a class that points back to it's parent (using the parent tag):
Code:
<hibernate-mapping ... default-access='field'>
<class name='A'>
<component name='X' class='Y'>
<parent name='a'>
</component>
</class>
</hibernate-mapping>
I'm using field access everywhere (default-access = 'field').
Now the field access doesn't seem to work for the parent tag, i.e. for propery a of class Y. I have to define a getter and setter for it (even if private). Also I see that there isn't even an access attribute for the tag parent.
Is there a reason why any property can use field access, but not a property mapped through <parent> ?
Thanks,
Peter