Re: ACIDity of Prevayler 2.6
hakan eryargi <[email protected]> Wed, 14 Nov 2012 20:48:34 +0200
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <CAPg-4YXey_RhCXqz0AqRcoA2ht1rPmZYo27JV5mTfaT6X2sdGg@mail.gmail.com> |
well, IMHO throwing an RTE should be considered as a failure. it doesnt matter if the transaction itself or some other piece of code throws it. this is by definition of exception. there is no such thing that good exception and bad exception. ok, some exceptions can be used for other means but that is out of topic I suppose. On Wed, Nov 14, 2012 at 8:39 PM, Klaus Wuestefeld <[email protected]> wrote: > Throwing an RTE or returning early isnt a failure. It is the Tx doing > exaclty what you (the code) are telling it to do. > > Non-Atomic behaviour would be to execute some lines and not others > regardless or an RTE. > > Klaus > > On Wed, Nov 14, 2012 at 4:28 PM, hakan eryargi <[email protected]> > wrote: > > ok, but what is the relation with atomicity? principle says: if tx fails > > it's rollbacked, nothing else > > > > > > On Wed, Nov 14, 2012 at 8:24 PM, Klaus Wuestefeld <[email protected]> > wrote: > >> > >> > That is not a failed transaction but poor application logic. > >> > >> Throwing a RTE is also bad app logic. DivideByZero... NullPointer... > >> It is just more scandalous than my example. > >> > >> Klaus > >> > >> > >> > ------------------------------------------------------------------------------ > >> Monitor your physical, virtual and cloud infrastructure from a single > >> web console. Get in-depth insight into apps, servers, databases, vmware, > >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >> Pricing starts from $795 for 25 servers or applications! > >> http://p.sf.net/sfu/zoho_dev2dev_nov > >> _______________________________________________ > >> To unsubscribe go to the end of this page: > >> http://lists.sourceforge.net/lists/listinfo/prevayler-discussion > >> _______________________________________________ > >> "Databases in Memoriam" -- http://www.prevayler.org > > > > > > > > > ------------------------------------------------------------------------------ > > Monitor your physical, virtual and cloud infrastructure from a single > > web console. Get in-depth insight into apps, servers, databases, vmware, > > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > > Pricing starts from $795 for 25 servers or applications! > > http://p.sf.net/sfu/zoho_dev2dev_nov > > _______________________________________________ > > To unsubscribe go to the end of this page: > > http://lists.sourceforge.net/lists/listinfo/prevayler-discussion > > _______________________________________________ > > "Databases in Memoriam" -- http://www.prevayler.org > > > > > > -- > Valeu, Klaus. > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > To unsubscribe go to the end of this page: > http://lists.sourceforge.net/lists/listinfo/prevayler-discussion > _______________________________________________ > "Databases in Memoriam" -- http://www.prevayler.org > ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org