I have a detached Person instance, which has a toOne association of a detached House instance.
When I merge my detached Person, I was expecting that all properties are copied into the persistent Person.
Much to my surprise, The House property was changed from the detached House into a proxy of House (with the same id though).
Is there any way to change this behavior and make it copy the detached House instance in the persistent Person?
After the merge, I need to do something with the House property and for performance reasons (this is done in a bulk loop) I don't want to re-select the house.
Thanks for any help.
_________________ http://www.ohloh.net/accounts/ge0ffrey
|