Re: PSQLException: The column name was not found in this ResultSet. - Mailing list pgsql-jdbc

was not found in this ResultSet.was not found in this ResultSet.  (Till Toenges <tt@kyon.de>)
From Florian Weimer
Subject Re: PSQLException: The column name
Date
Msg-id 82fwv6mq4d.fsf@mid.bfk.de
Whole thread Raw
In response to Re: PSQLException: The column name
List pgsql-jdbc
* Till Toenges:

> The pgjdbc driver is supposed to be thread safe:
>
> http://jdbc.postgresql.org/documentation/pgjdbc.html#Using+the+Driver+in+a+Multithreaded+or+a+Servlet+Environment
>
> Whether this is good or bad doesn't matter. Has been this way forever,
> can't change that now.

To me, it only says that Connection objects are thread-safe.
ResultSets are a different story.  To implement them in a thread-safe
manner, you need a thread-local variables, otherwise you cannot get
wasNull() right.

--
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

pgsql-jdbc by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: PSQLException: The column name was not found in this ResultSet.
Next
From: Florian Weimer
Date:
Subject: Re: PSQLException: The column name was not found in this ResultSet.