BUG #9117: PGXAConnection - equals method returning false
The following bug has been logged on the website:
Bug reference: 9117
Logged by: Michał Woś
Email address: michal.wos@leonisapps.pl
PostgreSQL version: 9.3.2
Operating system: All OS
Description:
PGXAConnection - equals method is not working. It returns false due to
wrapping connection into Proxy object. Second argument of invoke is not
unwrapped so we have:
unwrapped_connection.equals(wrapped_connection)
Correct implementation can be found in AbstractJdbc23PooledConnection class.
It compares wrapped objects.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
On Thu, Feb 6, 2014 at 12:09:29AM +0000, michal.wos@leonisapps.pl wrote:
The following bug has been logged on the website:
Bug reference: 9117
Logged by: Michał Woś
Email address: michal.wos@leonisapps.pl
PostgreSQL version: 9.3.2
Operating system: All OS
Description:PGXAConnection - equals method is not working. It returns false due to
wrapping connection into Proxy object. Second argument of invoke is not
unwrapped so we have:unwrapped_connection.equals(wrapped_connection)
Correct implementation can be found in AbstractJdbc23PooledConnection class.
It compares wrapped objects.
Is this a JDBC bug? If so, please email the JDBC email list,
pgsql-jdbc@postgresql.org. Thanks.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs