Re: Bug with caching SQLTypes in Connection:getSQLType(oid)

From: Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>
To: Ned Wolpert <ned(dot)wolpert(at)knowledgenet(dot)com>
Cc: PostgreSQL-JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Bug with caching SQLTypes in Connection:getSQLType(oid)
Date: 2001-12-08 13:25:23
Message-ID: 12541us6vbi64ogv3qtqm4j30398rv8e20@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 07 Dec 2001 15:09:51 -0700, you wrote:
>In some cases, when get getSQLType(oid) method is called, it doesn't
>cache the result, so it gets called alot. This is seen in Castor in
>a few cases. Anyone seen this before or am I the first?

We've discussed this before:
http://archives2.us.postgresql.org/pgsql-jdbc/2001-09/msg00275.php.

It's not entirely clear from the rest of the thread if the
problem disappeared when the OP upgraded to the latest
development version, but he did say that the improvement seemed
to be already implemented.

Regards,
René Pijlman <rene(at)lab(dot)applinet(dot)nl>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2001-12-08 17:00:22 Re: patch against cvs for getTimestamp() problem.
Previous Message Thomas O'Dowd 2001-12-08 09:55:32 Re: (2) patch against cvs for getTimestamp() problem.