X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2EF125E46DF for ; Mon, 23 Aug 2004 10:59:06 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13603-08 for ; Mon, 23 Aug 2004 13:59:02 +0000 (GMT) Received: from ganymede.hub.org (u46n208.hfx.eastlink.ca [24.222.46.208]) by svr1.postgresql.org (Postfix) with ESMTP id 0E95D5E3639 for ; Mon, 23 Aug 2004 10:58:59 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 3AC0F366A8; Mon, 23 Aug 2004 10:59:07 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 37529353F5 for ; Mon, 23 Aug 2004 10:59:07 -0300 (ADT) X-Return-Path: X-Received: from localhost ([unix socket]) by ganymede.hub.org (Cyrus v2.2.8) with LMTPA; Mon, 23 Aug 2004 05:52:20 -0300 X-Sieve: CMU Sieve 2.2 X-Received: from localhost (localhost.hub.org [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id EB354388E3 for ; Mon, 23 Aug 2004 05:50:26 -0300 (ADT) X-Received: from mail.postgresql.org [200.46.204.71] by localhost with IMAP (fetchmail-6.2.5) for scrappy@localhost (single-drop); Mon, 23 Aug 2004 05:50:26 -0300 (ADT) X-Received: from svr1.postgresql.org ([unix socket]) by svr1.postgresql.org (Cyrus v2.2.8) with LMTPA; Mon, 23 Aug 2004 05:47:51 -0300 X-Sieve: CMU Sieve 2.2 X-Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 259DF5E4706 for ; Mon, 23 Aug 2004 05:47:51 -0300 (ADT) X-Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 01164-02 for ; Mon, 23 Aug 2004 08:47:46 +0000 (GMT) X-Received: from hotmail.com (bay15-dav10.bay15.hotmail.com [65.54.184.114]) by svr1.postgresql.org (Postfix) with ESMTP id 5340A5E46F9 for ; Mon, 23 Aug 2004 05:47:45 -0300 (ADT) X-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 23 Aug 2004 01:18:01 -0700 X-Received: from 202.71.147.145 by bay15-dav10.bay15.hotmail.com with DAV; Mon, 23 Aug 2004 08:18:00 +0000 X-Originating-IP: [202.71.147.145] X-Originating-Email: [antonypaul24@hotmail.com] X-Sender: antonypaul24@hotmail.com From: "Antony Paul" To: "pgsql-jdbc" Subject: Closing ResultSet and Statements Date: Mon, 23 Aug 2004 13:54:36 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 23 Aug 2004 08:18:01.0365 (UTC) FILETIME=[B4B3B450:01C488E9] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-DCC: MessageCare: ganymede.hub.org 1108; Body=1 Fuz1=1 Fuz2=1 X-Spam-Pyzor: Reported 0 times. ReSent-Date: Mon, 23 Aug 2004 10:59:02 -0300 (ADT) Resent-From: "Marc G. Fournier" Resent-To: pgsql-jdbc@postgresql.org ReSent-Subject: Closing ResultSet and Statements ReSent-Message-ID: <20040823105902.M4215@ganymede.hub.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200408/131 X-Sequence-Number: 10853 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