Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id B9F858ECFC1 for ; Tue, 6 Dec 2011 02:10:21 -0400 (AST) Received: from mag.webhome.hu ([212.52.168.15]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RXoEK-0006J7-RQ for pgsql-jdbc@postgresql.org; Tue, 06 Dec 2011 06:10:21 +0000 Received: from [IPv6:::1] (mag.webhome.hu [127.0.0.1]) by mag.webhome.hu (Postfix) with ESMTPS id 48D2C173D for ; Tue, 6 Dec 2011 06:10:01 +0000 (UTC) Message-ID: <4EDDB1B8.70203@magwas.rulez.org> Date: Tue, 06 Dec 2011 07:10:00 +0100 From: =?UTF-8?B?TWFnb3PDoW55aSDDgXJww6Fk?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: This connection has been closed Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201112/19 X-Sequence-Number: 22473 I am using a cdo server (org.eclipse.emf.cdo) which uses hibernate which uses the postgresql jdbc driver. (9.0.0.801) Between two transactions the tcp connection between the cdo server and postgresql went down (my laptop hibernated). I got an exception with this cause: Caused by: org.postgresql.util.PSQLException: This connection has been closed. at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:714) at org.postgresql.jdbc2.AbstractJdbc2Connection.getAutoCommit(AbstractJdbc2Connection.java:680) at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:127) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) This might be related to this issue: https://forum.hibernate.org/viewtopic.php?f=1&t=957369 Do we have a hibernate, a postgresql or a CDO issue here?