Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 7258E9FB470 for ; Thu, 1 Mar 2007 16:57:56 -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 53674-07 for ; Thu, 1 Mar 2007 16:57:52 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by postgresql.org (Postfix) with ESMTP id AA6289FB44F for ; Thu, 1 Mar 2007 16:57:52 -0400 (AST) Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20070301205750.KNGK2951.mtaout01-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Thu, 1 Mar 2007 20:57:50 +0000 Received: from [192.168.1.3] (really [82.5.162.90]) by aamtaout02-winn.ispmail.ntl.com with ESMTP id <20070301205750.XRVV17393.aamtaout02-winn.ispmail.ntl.com@[192.168.1.3]> for ; Thu, 1 Mar 2007 20:57:50 +0000 From: Tim Pizey Organization: Melati To: pgsql-jdbc@postgresql.org Subject: Re: how to continue using a connection after an error with autocommit=false Date: Thu, 1 Mar 2007 20:59:29 +0000 User-Agent: KMail/1.9.1 References: <200702282041.13013.timp@melati.org> In-Reply-To: X-Face: :KEgn1q!?+,eFy-l4}>Y3o)FS>=WG'85QuK7M(D+~HURj\kxB?vYID; ]8B2'a>=?utf-8?q?thWQE=7Dc*=0A=09Aj=2E=5F=7E=3B=5B=3B5i*=7E=24Jw=2E=5CZJ?=(j5]^etSllH-rLd3X`4(fPtEA; X`i5G+`y=:F/W`E1zFj|C(=?utf-8?q?/=27l=0A=09=7BhdTAa1?=(cqQzXBkz,OJMR^%oXIiW4:Uc[|8%3v=N-8UL8-5s>%y"tT_&,W@WsWp,=?utf-8?q?r1B=7EKD=0A=09o3=25IaG-pz=5EEyQZsphFZ*1?=(hdJ\}Y]bt(#Sr$|ZX`y9WjcCu/7YO@=?utf-8?q?R5F3TPn=7E0xru=7DVkXo+=0A=09=60=5F8?="au-$a:|`c7bVHcA MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703012059.29908.timp@melati.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/4 X-Sequence-Number: 16718 On Wednesday 28 February 2007 22:33, Dave Cramer wrote: > On 28-Feb-07, at 3:41 PM, Tim Pizey wrote: > > On Tuesday 20 February 2007 10:50, Heikki Linnakangas wrote: > >> James Im wrote: > >>> I just find out that I cannot continue using a connection when I use > >>> autocommit=false and that an sql insert failed. > >> > >> That's intended behavior in PostgreSQL. > > > > [snip] > > This is new behaviour in version 8, I believe. > > No, this has been around since 7.x > > > I think this behaviour is unique to Postgresql? > > Possibly > > > Melati was developed with Postgresql version 6 as the target dbms > > back in 2000, since then it has been extended to work with the > > other common > > dbmsen, but now it looks like it won't work with V8, without quite > > a bit of > > rework. > > Sorry, my bad, all Melati's tests pass on 8.1.4, without modification. yours Tim Pizey -- http://melati.org/ - the flower of Java.