Armin,
The Javadocs are admittedly not very clear. From
org.odmg.Transaction#abort():
Abort and close the transaction. Calling abort abandons all
persistent object modifications and releases the associated
locks. Aborting a transaction does not restore the state of
modified transient objects.
The same text is in org.apache.ojb.odmg.TransactionImpl#abort().
Although it's not clear what it means to "abandon all persistent
object modifications", it sounds like rolling back, and the explicit
mention of modifications to transient objects suggests that the
behavior is different for modifications to persistent objects,
So what are others doing about this situation? Does everybody write
their own snapshot/rollback code?
--
Steve Clark
Technology Applications Team
Natural Resources Research Center/USGS
[EMAIL PROTECTED]
(970)226-9291
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]