pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Renato Gondim <Renato.Gondim@SoftwareExpress.com.br>
To: pgsql-odbc@postgresql.org
Subject: Meaning of Level of rollback on errors
Date: Wed, 31 May 2006 17:39:18 -0300
Message-ID: <001001c684f2$4a37a2b0$3c35a8c0@MRENATO> (raw)

Hi folks,

I've just faced a situation here at work. Our application runs on Oracle,
SqlServer, Sybase and PostGreSql. The problem was when a primary key
violation occurs: after the error, the application tries to find the
register, but if the ODBC is configured as "Transaction" on "Level of
rollback on errors", nothing is returned from the select. After a research,
I found out that I must use "Statement" , but I'd like to know what happen
when this configuration is set, because the application must start / finish
the transaction. I'm tried "Nop: don't rollback anything", cause make more
sense for me: don't do anything, let the application control the
transactions, but using it, the application can't continue and make more
statements.

Because I don't like to use something that I don't know, please, does
anybody have more information about the configurations of "Level of rollback
on errors"?

 

Thanks,

Renato. 

 

view thread (2+ messages)  latest in thread

Message-ID: <001001c684f2$4a37a2b0$3c35a8c0@MRENATO>
Permalink:  ../001001c684f2$4a37a2b0$3c35a8c0@MRENATO/
Also on:    postgresql.org/message-id/001001c684f2$4a37a2b0$3c35a8c0@MRENATO

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Renato.Gondim@SoftwareExpress.com.br
  Subject: Re: Meaning of Level of rollback on errors
  In-Reply-To: <001001c684f2$4a37a2b0$3c35a8c0@MRENATO>
  References: <001001c684f2$4a37a2b0$3c35a8c0@MRENATO>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox