You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by Dunton Stephen - sdunto <St...@acxiom.com> on 2006/08/07 19:51:07 UTC
Can't Get Rollback Working
Hi,
I am using iBatis / Sql Maps with Cold Fusion 7 via java.
I have a number of sql statements executing that I need to act as an
atomic transaction. I can't get rollback via a call to endTransaction()
to work properly though. All statements are still committing. To test
I am dividing by zero and expecting all the previous statements to
rollback but they're not. I have the autocommit property set to false
in the xml config file and I am starting a transaction with
startTransaction().
Any thoughts would be greatly appreciated.
Thanks,
Stephen Dunton
Acxiom-Insight
http://www.acxiominsight.com/
Stephen.Dunton@acxiom.com
303.785.3938
*************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.
If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.
If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.
Thank you.
*************************************************************************
Re: Can't Get Rollback Working
Posted by Larry Meadors <lm...@apache.org>.
Interesting configuration...what is the database?
Larry
On 8/7/06, Dunton Stephen - sdunto <St...@acxiom.com> wrote:
>
>
>
>
> Hi,
>
>
>
> I am using iBatis / Sql Maps with Cold Fusion 7 via java.
>
>
>
> I have a number of sql statements executing that I need to act as an atomic
> transaction. I can't get rollback via a call to endTransaction() to work
> properly though. All statements are still committing. To test I am
> dividing by zero and expecting all the previous statements to rollback but
> they're not. I have the autocommit property set to false in the xml config
> file and I am starting a transaction with startTransaction().
>
>
>
> Any thoughts would be greatly appreciated.
>
>
>
> Thanks,
>
>
>
> Stephen Dunton
>
> Acxiom-Insight
>
> http://www.acxiominsight.com/
>
> Stephen.Dunton@acxiom.com
>
> 303.785.3938
>
>
>
>
> *************************************************************************
> The information contained in this communication is confidential, is
> intended only for the use of the recipient named above, and may be
> legally privileged.
>
> If the reader of this message is not the intended recipient, you are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited.
>
> If you have received this communication in error, please resend this
> communication to the sender and delete the original message or any copy
> of it from your computer system.
>
> Thank you.
> *************************************************************************
>
>