Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 19E839FB22E for ; Tue, 16 Jan 2007 04:15:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 38582-10 for ; Tue, 16 Jan 2007 04:14:43 -0400 (AST) X-Greylist: delayed 19:05:06.103626 by SQLgrey-1.7.4 Received: from post.umb.no (bukk.ans.umb.no [128.39.176.2]) by postgresql.org (Postfix) with ESMTP id F3DFE9FB1FE for ; Tue, 16 Jan 2007 04:14:43 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by umb.no (Postfix) with ESMTP id ED0B7EB15A; Tue, 16 Jan 2007 09:14:43 +0100 (CET) Received: from post.umb.no ([127.0.0.1]) by localhost (post [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00912-04; Tue, 16 Jan 2007 09:14:43 +0100 (CET) Received: from [128.39.236.206] (imt-havatv.ans.umb.no [128.39.236.206]) by post.umb.no (Postfix) with ESMTP id D4935EB145; Tue, 16 Jan 2007 09:14:43 +0100 (CET) Message-ID: <45AC89D4.4060707@umb.no> Date: Tue, 16 Jan 2007 09:16:20 +0100 From: Havard Tveite User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Kris Jurka Cc: pgsql-jdbc@postgresql.org Subject: Re: "nested transaction" - encosing statement gets closed References: <45AB7D70.5050702@umb.no> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at post.umb.no X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.136 tagged_above=0 required=5 tests=AWL, BAYES_50, FORGED_RCVD_HELO, SPF_PASS X-Spam-Level: X-Archive-Number: 200701/100 X-Sequence-Number: 16465 Kris Jurka wrote: > On Mon, 15 Jan 2007, Havard Tveite wrote: > >> I have experienced problems using the JDBC type 2 and type 3 >> drivers for 8.1 (postgresql-8.1-408.jdbc3.jar, >> postgresql-8.1-408.jdbc2.jar) against PostgreSQL 8.1.5. >> > > Are you sure it's complaining that stmt is closed. This coding clearly > looks like the problem will be with stmtchk as you close it in the loop, > but then continue using it. You are right. I was so hung up in that it worked for 7.4.1 that I did not check things properly. Sorry! Thank you for the help! -- Håvard Tveite Department of Mathematical Sciences and Technology, UMB Drøbakveien 14, POBox 5003, N-1432 Ås, NORWAY Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt