PGXAConnection - equals method returning false

From: Michał Woś <michal(dot)wos(at)leonisapps(dot)pl>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: PGXAConnection - equals method returning false
Date: 2014-02-11 23:07:45
Message-ID: 36513D91-5EBB-4AAA-9CBE-A7A34C17D3C6@leonisapps.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter Damen 2014-02-12 00:32:15 JDBC PostgreSQL Stored Procedure Meta-data
Previous Message Lezzlee 2014-02-11 10:30:44 Re: JDBC executeBatch() hangs without error