Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2BD7F475E2B for ; Sun, 5 Jan 2003 22:03:37 -0500 (EST) Received: from ebox2.sentricity.com (ebox2.sentricity.com [64.7.141.8]) by postgresql.org (Postfix) with ESMTP id 7A230475B8D for ; Sun, 5 Jan 2003 22:03:36 -0500 (EST) Received: from [192.168.123.27] (dcdsl.ebox.com [64.7.143.116]) (authenticated) by ebox2.sentricity.com (8.11.0/8.11.0av) with ESMTP id h0633c703860; Sun, 5 Jan 2003 22:03:38 -0500 Subject: Re: Idle in Transaction From: Dave Cramer To: jimdowning@pobox.com Cc: "pgsql-jdbc@postgresql.org" In-Reply-To: <20030105170039.GB23525@pling.qwghlm.org> References: <20030105170039.GB23525@pling.qwghlm.org> Content-Type: text/plain Organization: Message-Id: <1041822218.1147.7.camel@inspiron.cramers> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.1.90 (Preview Release) Date: 05 Jan 2003 22:03:38 -0500 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/47 X-Sequence-Number: 5897 Jim, I'm just about to start playing with Hibernate, so I'm more than interested in this. Does hibernate use connection pools? Dave On Sun, 2003-01-05 at 12:00, Jim Downing wrote: > Hi all, > > I have a problem whereby every time my java application tries to > commit a transaction a new postgresql process is spawned which is > marked 'Idle in Transaction'. Could anybody tell me what situations > (in the context of using the jdbc driver) these 'idle in transaction' > threads are created? > > I'm using a persistence framework (Hibernate as it happens), but > no-one else has had this problem with that framework, so I suspect > it's something to do with the way I have postgres configured, or else > my code (looking most likely atm). > > Regards, > > jim > > Jim Downing > Paribus > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org -- Dave Cramer