Re: PGXAConnection - equals method returning false
От | Michał Woś |
---|---|
Тема | Re: PGXAConnection - equals method returning false |
Дата | |
Msg-id | F3EFBAE2-4B9A-4D5A-B436-02BF1C0A0DA0@leonisapps.pl обсуждение исходный текст |
Ответ на | Re: PGXAConnection - equals method returning false (Florent Guillaume <fg@nuxeo.com>) |
Ответы |
Re: PGXAConnection - equals method returning false
|
Список | pgsql-jdbc |
Hi Florent, I didn’t know you already reported it. Anyway it might be good to remind Postgres guys about the problem. This issue is majorand it's really hard to believe that this hasn’t been covered since 2011. I wonder how many developers will waste theirtime debugging Apache DBCP or other framework, only to find out that issue lies inside JDBC. — Michal On 12 Feb 2014, at 21:51, Florent Guillaume <fg@nuxeo.com> wrote: > 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.wos@leonisapps.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@postgresql.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
В списке pgsql-jdbc по дате отправления: