|
Craig Russell made changes - 04/Oct/06 02:51 AM
Craig Russell made changes - 04/Oct/06 09:19 PM
How does the current fetch plan affect this?
The current fetch plan should not affect this behavior. The issue is what happens upon attachment via calling the makePersistent method. The fetch plan is operative during detachment and is not specified to have any effect on attachment.
The spec describes what happens in the description of makePersistent:
<spec> For a detached instance, they locate or create a persistent instance with the same JDO identity as the detached instance, and merge the persistent state of the detached instance into the persistent instance. Only the state of persistent fields is merged. </spec> The merge operation cannot result in a hollow instance.
Craig Russell made changes - 10/Oct/06 05:50 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The answer will determine whether we consider this a spec bug to be fixed to specify that attaching a detached-clean instance results in a persistent-clean state or specify that the state can be persistent-clean or hollow.