pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Antony Paul <antonypaul24@hotmail.com>
To: pgsql-jdbc <pgsql-hdbc@postgresql.org>
Subject: Closing ResultSet and Statements
Date: Mon, 23 Aug 2004 13:54:36 +0530
Message-ID: <BAY15-DAV106PkdlKOz0000ea69@hotmail.com> (raw)

Hi all,
(Sorry if repost. I posted it some days ago but couldn't  found on the list)
1. Is it necessary to close all ResultSet and Statements in PostgreSQL.
2. How to know that a ResultSet is open ?. Any views to query this
information?.
3. Do closing a Statement closes the ResultSet ?.
4. I saw an option of  autocommit = true in the postgresql.conf file. What
is its use. What is the default behaviour if it is commented. If I set this
to true do I have commit on all connections obtained without using a
connection pool ?.

rgds
Antony Paul




view thread (3+ messages)  latest in thread

Message-ID: <BAY15-DAV106PkdlKOz0000ea69@hotmail.com>
Permalink:  ../BAY15-DAV106PkdlKOz0000ea69@hotmail.com/
Also on:    postgresql.org/message-id/BAY15-DAV106PkdlKOz0000ea69@hotmail.com

 · 

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-jdbc@postgresql.org
  Cc: antonypaul24@hotmail.com, pgsql-hdbc@postgresql.org
  Subject: Re: Closing ResultSet and Statements
  In-Reply-To: <BAY15-DAV106PkdlKOz0000ea69@hotmail.com>
  References: <BAY15-DAV106PkdlKOz0000ea69@hotmail.com>

* 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