pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #15957: Connection event listener not called during close()
2+ messages / 2 participants
[nested] [flat]
* BUG #15957: Connection event listener not called during close()
@ 2019-08-13 22:36 PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 2+ messages in thread
From: PG Bug reporting form @ 2019-08-13 22:36 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: prakashprabhu87@gmail.com
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #15957: Connection event listener not called during close()
@ 2019-08-20 12:59 Dave Cramer <davecramer@gmail.com>
parent: PG Bug reporting form <noreply@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: Dave Cramer @ 2019-08-20 12:59 UTC (permalink / raw)
To: prakashprabhu87@gmail.com; pgsql-bugs@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-08-20 12:59 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13 22:36 BUG #15957: Connection event listener not called during close() PG Bug reporting form <noreply@postgresql.org>
2019-08-20 12:59 ` Dave Cramer <davecramer@gmail.com>
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