In assignment rules for relationships (pg 154 of
ejb spec)..
A and B are in one-to-one bidirectional relation..
a1 <--> b1
a2 <--> b2
changing:
a1.setB(a2.getB()) will result in
'a2.getB() == null'.
Suppose we just have:
a1.setB(b2) (that is, not accessing b2 through a2), will the container still be aware that b2 is involved with a2 and yield the same result ?