> Try this,
>
> For class B: add an attribute to model fk to A.
>
> public class B {
> private Integer id;
> private A a;
> private int fkToA;
> ...
> }Hi, thanks for your input. Yes, I did do this too, I just thought it might be possible without having to define a new field in the B class - considering the "A id" is already in the A object contained in B.... But if that's the way to do it, then that is fine. Thanks, Peter
