Re: large transaction sizes and rollbacks

Klaus Wuestefeld <[email protected]>
Newsgroups gmane.comp.java.prevayler
Message-ID <[email protected]>
Prevayler will ignore Exceptions (not Errors) when replaying the
transactions journal but will actually throw any Exceptions the first
time transactions are executed.

Klaus


On Sat, Mar 5, 2011 at 2:22 PM, Justin T. Sampson <[email protected]> wrote:
> On Sat, Mar 5, 2011 at 7:23 AM, <[email protected]> wrote:
>>
>> I think this was the reason I was confused about why prevayler was
>> silently ignoring exceptions thrown at that point. I was expecting
>> prevayler to stop all further processing. What heppens if, for example,
>> you get an OutOfMemoryException at this point?
>
> Well, that's actually OutOfMemoryError, not OutOfMemoryException. Prevayler
> treats Errors as nondeterministic events, precisely because things like
> OutOfMemoryError and StackOverflowError can't be guaranteed to not occur
> even with perfectly written code. So indeed, Prevayler stops all further
> processing on encountering an Error during either original execution or
> journal replay.
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> To unsubscribe go to the end of this page:
> http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
>
>

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.