Armin Waibel wrote:



Steve Clark wrote:

    Steve> So what are others doing about this situation?  Does
    Steve> everybody write their own snapshot/rollback code?

Armin> You can simply request the object again after abort.

Does Transaction.abort() remove all of its registered objects from the
cache?  If so, then this solution will work fine for me.


yep, this should happend.


Armin

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


Furthermore:
Only objects that were locked by the aborted tx AND changed are removed from the cache.
If the invalid object is contained in a collection of an object that was not locked or not changed the changed version of the object remains in the cached collection.


I would prefer the restore - solution, which worked in rc4.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to