From: Magosányi Árpád <mag@magwas.rulez.org>
To: pgsql-jdbc@postgresql.org
Subject: This connection has been closed
Date: Tue, 06 Dec 2011 07:10:00 +0100
Message-ID: <4EDDB1B8.70203@magwas.rulez.org> (raw)
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?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: mag@magwas.rulez.org
Subject: Re: This connection has been closed
In-Reply-To: <4EDDB1B8.70203@magwas.rulez.org>
References: <4EDDB1B8.70203@magwas.rulez.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox