Re: Automatic transactions in SELECT - Mailing list pgsql-jdbc

From Thomas Kellerer
Subject Re: Automatic transactions in SELECT
Date
Msg-id kgpnum$7qu$1@ger.gmane.org
Whole thread Raw
In response to Re: Automatic transactions in SELECT  (Joseph Pravato <joseph.pravato@nomagic.com>)
Responses Re: Automatic transactions in SELECT
List pgsql-jdbc
Joseph Pravato, 28.02.2013 23:50:
> That's sad to hear, unfortunately if that is the case we're probably going to have to do what you
>recommended by switching applications or adding save points in by hand.

I answered a similar question of yours on the novice list (regarding the VACUUM/autocommit problem)

For my SQL tool (SQL Workbench/J) each statement that is run interactively is guarded with a savepoint. Upon an error,
thetool automatically rolls back to the savepoint, leaving the transaction "intact" and letting you continue without
themanual need to rollback (possibly losing changes you did before that). 

If you want to look at it, it's here: http://www.sql-workbench.net

Regards
Thomas




pgsql-jdbc by date:

Previous
From: Craig Ringer
Date:
Subject: Re: executeUpdate API contract. Return value equals 0.
Next
From: Joseph Pravato
Date:
Subject: Re: Automatic transactions in SELECT