On 2010-11-12 07:18, Maciek Sakrejda wrote:
> We're getting off topic--perhaps I didn't express myself clearly.
> Getting back to Samuel's original point, if the ResultSet interface
> contract does not require a given implementation to provide thread
> safety for these operations--and it appears that it does not--then
> maybe pgjdbc should not try to provide it. If a user needs to use a
> ResultSet from multiple threads, it can be synchronized externally.
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.
Till
--
Kyon, Till Toenges, tt@kyon.de, http://kyon.de
Blumenstr. 39, 47798 Krefeld, +49-2151-3292595