Re: BUG #15957: Connection event listener not called during close() - Mailing list pgsql-bugs

From Dave Cramer
Subject Re: BUG #15957: Connection event listener not called during close()
Date
Msg-id CADK3HHJb8LOO_u8TvzdKa6P9f9hhqoO5XGMbRfEUiBZSGN4k7A@mail.gmail.com
Whole thread Raw
In response to BUG #15957: Connection event listener not called during close()  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs


On Tue, 13 Aug 2019 at 18:37, PG Bug reporting form <noreply@postgresql.org> wrote:
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.


Pretty sure this is a hibernate thing. The JDBC API does not have an event listener interface that fires on connectionClosed.

Dave 

pgsql-bugs by date:

Previous
From: Dave Cramer
Date:
Subject: Re: BUG #15939: Postgres database size is growing due to oraphan objects
Next
From: Jeff Janes
Date:
Subject: Re: BUG #15967: Sequence generation using NEXTVAL() fails on 64bit systems