hilaire2006 at laposte.net
Thu Oct 12 07:15:58 UTC 2006
Chris Muller a écrit :
> If the Diner is referenced by the persistent graph and you have not set
> refreshPersistentObjectsEvenWhenChangedOnlyByMe: to true (i.e., leave
> that false, always), then lazy-initializing the Diner should be fine
> and it should get persisted; upon your next mySession begin; commit,
> even if the reference to the Diner made outside the transaction AND
> another session did not change that object that now references the
> Did you find otherwise? If you post your example maybe it will reveal
I closed the connection right after a lazy initialization. In that case
the Diner object was not persisted.
If before closing I am doing an empty transaction commit:  it is
Oh subtle details!
More information about the Magma