From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter T Mount <peter@retep.org.uk>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Re: [GENERAL] JDBC and insert - stack overflow
Date: Thu, 27 May 1999 16:44:47 -0400
Message-ID: <23467.927837887@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.04.9905271822440.2157-100000@maidast.retep.org.uk>
Peter T Mount <peter@retep.org.uk> writes:
>> By the way, use con.setAutoCommit( false ) to have all the inserts in one
>> big transaction. It saves a lot of time.
> Don't forget to commit() at the end, as you can't guarantee that a
> transaction will be committed when the connection closes.
In fact, I believe that we guarantee the opposite: any open transaction
will be aborted if the client closes the connection without sending a
commit command...
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, peter@retep.org.uk
Subject: Re: [INTERFACES] Re: [GENERAL] JDBC and insert - stack overflow
In-Reply-To: <23467.927837887@sss.pgh.pa.us>
* 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