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]


In my tests with OJB 1.0 RC6 ODMG after abort I got the following results:
- the DB-Transaction is rolled back.
- When I have called flush before commit the changed object is NOT removed from the cache.


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

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



Reply via email to