Hi,
i give you this sample example :
in case A<---->B [1:n] :
the mapping of this bidiractional navigation is guaranted by the use of
inverse-foreignkey :
Mapping A classe :
----------------------------------------------------
<collection-descriptor
name="allB"
element-class-ref="B"
>
<inverse-foreignkey field-ref="aId"/>
</collection-descriptor>
Mapping B class :
------------------------------
<reference-descriptor
name="a"
class-ref="A"
>
<foreignkey field-ref="aId"/>
</reference-descriptor>
so in case of A<---->B [1:1] i need a bidirectional navigation !!!!!
how to use ????
my config :
1. ojb 1.0.3
2. i use the broker (PB-API)
Thanks a lot ....