PGXAConnection - equals method returning false - Mailing list pgsql-jdbc

From Michał Woś
Subject PGXAConnection - equals method returning false
Date
Msg-id 36513D91-5EBB-4AAA-9CBE-A7A34C17D3C6@leonisapps.pl
Whole thread Raw
Responses Re: PGXAConnection - equals method returning false
List pgsql-jdbc
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.


pgsql-jdbc by date:

Previous
From: Lezzlee
Date:
Subject: Re: JDBC executeBatch() hangs without error
Next
From: Peter Damen
Date:
Subject: JDBC PostgreSQL Stored Procedure Meta-data