Re: Every transaction appears to run twice.
Rick Ross <[email protected]>
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <[email protected]> |
Aww.. Awesome!! Thanks guys. I hate problems like this where if I was really wrong, then I didn't really have a clue. Big relief My original tests showed the deteriminism problem so now I just have to run into the baptism problem :-) R On Feb 16, 2009, at 7:41 PM, Klaus Wuestefeld wrote: > William is right. You can turn that off by doing > PrevaylerFactory.configureTransactionFiltering(false) > > > > On Mon, Feb 16, 2009 at 11:36 PM, William Pietri > <[email protected]> wrote: >> >> >> Rick Ross wrote: >>> I'm definitely n00b here but I was busting out code no problem >>> when I >>> realized that my transactions are running twice. Every one of >>> them. >>> They don't result in two things being added to the container so I am >>> really baffled.[...] >>> >>> Again.. I call the transaction once prevayler.execute(new >>> NutTransactionWithQuery("Cashew")); Each of the output lines >>> happens twice but only one Nut object is stored in the Store >> >> I may be a little out of touch with what Prevayler's defaults are >> these >> days, but that sounds like the food taster. >> >> One of the issues with Prevayler is that if a transaction blows up in >> the middle, it blows up on the live data, with no good way to do >> rollback. So Prevayler can be configured to keep a second copy of all >> your data and run the transaction once on the spare copy. If it >> doesn't >> throw an exception, then it runs it on the real copy. >> >> William >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San >> Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source >> code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion >> _______________________________________________ >> "Databases in Memoriam" -- http://www.prevayler.org >> > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source > code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion > _______________________________________________ > "Databases in Memoriam" -- http://www.prevayler.org > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org