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.  (Lew <noone@lewscanon.com>)was not found in this ResultSet.  (Maciek Sakrejda <msakrejda@truviso.com>)
Re: PSQLException: The column name was not found in this ResultSet.  (Lew <noone@lewscanon.com>)
From Maciek Sakrejda
Subject Re: PSQLException: The column name
Date
Msg-id AANLkTimKWEdBdJS2gRFLYrHcAHNiA-Hx8=KGA7ucu3HH@mail.gmail.com
Whole thread Raw
In response to Re: PSQLException: The column name
Responses Re: PSQLException: The column name
List pgsql-jdbc
>> Code which utilizes a
>> ResultSet should do so in a thread safe manner, rather than attempting
>> to make the resultset implementation thread-safe - unless my assumptions
>> about the intent of the interface designers is incorrect.
>
> It is meaningless to talk about thread safety with respect to interfaces.

I think Samuel was talking about the thread-safety guarantees of the
interface contract. E.g., the List interface does not guarantee
thread-safety, so if you want to call add() on multiple Lists from
multiple threads, synchronization is your responsibility. If the
interface contract of ResultSet does not guarantee thread safety, I
don't see why the driver should bother to offer it there. Hashtable,
Vector, and StringBuffer took that route, and look at them now.
---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com

pgsql-jdbc by date:

Previous
From: Lew
Date:
Subject: Re: PSQLException: The column name was not found in this ResultSet.
Next
From: Maciek Sakrejda
Date:
Subject: Re: PSQLException: The column name was not found in this ResultSet.