Re: What happens if a transaction fails to serialize?
"Justin T. Sampson" <[email protected]>
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Apr 23, 2010 at 1:08 PM, Ross Rick <[email protected]> wrote: > As I understand it, application control is returned to the caller when the > transaction completes in memory, so I'm wondering what happens if the > journaling farts, especially after control has been returned. > > Should be damn rare, of course, just wondering if this has been addressed. > As of Prevayler 2.3 at least, transactions are serialized (turned into bytes by Java serialization) before anything else happens, so if serialization fails the call to execute(Transaction) will throw the exception thrown by the serialization and Prevayler is unaffected. Cheers, Justin ------------------------------------------------------------------------------ _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org