Re: PGXAConnection - equals method returning false

From: Florent Guillaume <fg(at)nuxeo(dot)com>
To: Michał Woś <michal(dot)wos(at)leonisapps(dot)pl>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: PGXAConnection - equals method returning false
Date: 2014-02-12 20:51:32
Message-ID: CAF-4BpO3TwJhq4qNPxnT8rJp4hZ_4sYcXJjiaGUv7Bsx79wK5w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

Yes, I already reported this in 2011:
http://www.postgresql.org/message-id/CAF-4BpPdTUVnZQd-Y70-uSHVUJ-hfxLmfCW+MBL1i1AEaLoPMg@mail.gmail.com

Florent

On Wed, Feb 12, 2014 at 12:07 AM, Michał Woś <michal(dot)wos(at)leonisapps(dot)pl> wrote:
> 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-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc

--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Content Management Platform for Business Apps
http://www.nuxeo.com http://community.nuxeo.com

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Michał Woś 2014-02-12 21:39:24 Re: PGXAConnection - equals method returning false
Previous Message Dave Cramer 2014-02-12 16:18:03 Re: Postgres 9.0.4 with Serverside PreparedStatements never returns with large tables