------=_Part_3917_8495371.1200657850977
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
2008/1/18, Oliver Jowett <oliver@[EMAIL PROTECTED]
>:
>
> Francesco Storti wrote:
> > 2008/1/17, Tom Lane tgl@[EMAIL PROTECTED]
<mailto:tgl@[EMAIL PROTECTED]
>:
> >
> >
> > Should work. Maybe you're rolling back the transaction later, or
> > something like that?
> >
> > regards, tom lane
> >
> >
> >
> > Thank for the answer first ;)
> > I use rollback only if throwed an SQL exception.
>
> You never call commit() so the transaction will be rolled back when you
> close the connection. (I'm assuming you have autocommit off, you didn't
> include your connection setup code)
>
> -O
Confirmed that I'm a newbye...
As sed by Oliver and tivvpgsqljdbc i've missed the commit ...
Thanks a lot for your help!
------=_Part_3917_8495371.1200657850977
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<br><br>
<div><span class="gmail_quote">2008/1/18, Oliver Jowett <<a
href="mailto:oliver@[EMAIL PROTECTED]
">oliver@[EMAIL PROTECTED]
>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px
0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Francesco Storti wrote:<br>>
2008/1/17, Tom Lane <a
href="mailto:tgl@[EMAIL PROTECTED]
">tgl@[EMAIL PROTECTED]
>
<mailto:<a
href="mailto:tgl@[EMAIL PROTECTED]
">tgl@[EMAIL PROTECTED]
>>:<br>><br>><br>>
Should work. Maybe you're rolling back the transaction
later, or<br>> something like
that?<br>><br>> regards,
tom lane
<br>><br>><br>><br>> Thank for the answer first ;)<br>> I
use rollback only if throwed an SQL exception.<br><br>You never call
commit() so the transaction will be rolled back when you<br>close the
connection. (I'm assuming you have autocommit off, you didn't
<br>include your connection setup code)<br><br>-O</blockquote>
<div> </div>
<div> </div>
<div> </div>
<div>Confirmed that I'm a newbye...</div>
<div>As sed by Oliver and <font color="#888888">tivvpgsqljdbc i've
missed the commit ...</font></div>
<div><font color="#888888">Thanks a lot for your
help!</font></div><br> </div><br>
------=_Part_3917_8495371.1200657850977--


|