Hi,
I have a 1:1 relectionship between a Person entity an Address entity.
I have no cascade options set on either side of the rel. The Person object is attatched but the Address object is not.
I refresh the Person entity and the observe that the SQL generated by hibernate reads both the Person and the Address.
Is this some sort of default cascade for refresh?
To add some confustion to this after the refresh, I checked to see which entites are attatched, The Person entity is (this makes sense) but even though the Address object appears to have been re read it is not attatched.
any ideas why not?
comments appreciated
|