From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: prakashprabhu87@gmail.com
Subject: BUG #15957: Connection event listener not called during close()
Date: Tue, 13 Aug 2019 22:36:49 +0000
Message-ID: <15957-bd58646b1e47f90b@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15957
Logged by: Prakash Prabhu Bantwal
Email address: prakashprabhu87@gmail.com
PostgreSQL version: Unsupported/Unknown
Operating system: linux
Description:
Hi,
Testing with version
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.5</version>
</dependency>
I am using postgres with hibernate and during the close() call from the Jdbc
template is called, the connectionClosed() from the event listner is not
being called. i see the listener is being invoked from
fireConnectionClosed() but this should also be invoked from close() method.
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-bugs@postgresql.org
Cc: noreply@postgresql.org, prakashprabhu87@gmail.com
Subject: Re: BUG #15957: Connection event listener not called during close()
In-Reply-To: <15957-bd58646b1e47f90b@postgresql.org>
References: <15957-bd58646b1e47f90b@postgresql.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