Re: [Modeling-users] Re: How are transaction failures handled?
Status: Abandoned
Brought to you by:
sbigaret
From: Federico H. <fh...@vi...> - 2003-09-25 14:59:14
|
Sebastien, Thanks for the prompt answer! Indeed, this answers my question, but of course it prompts another :-) On Thu, 2003-09-25 at 09:46, Sebastien Bigaret wrote: > 2. It then opens a transaction in the db, and sends the necessary SQL > statements (INSERT/UPDATE/DELETE) in this transaction. If any error > occurres when these sql statements are executed, the whole > transaction is rolled back. > 3. It commits the transaction. Here again, if an error occurs at the > DB-level, the transaction is rolled back. I assume that it also raises an exception at this point. Which exception is this, and what information does it contain? (a pointer to the relevant code is enough if you don't feel like writing a long answer). Fede |