pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: org.postgresql.util.PSQLException: The column name x was
Date: Fri, 17 Jun 2005 09:53:20 +1200
Message-ID: <42B1F4D0.7060104@opencloud.com> (raw)
In-Reply-To: <s2b16042.079@gwmta.wicourts.gov>
References: <s2b16042.079@gwmta.wicourts.gov>

Kevin Grittner wrote:
> 
> Given the circumstances, it looks like some race
> condition between the multiple JDBC threads might be involved.

Seems unlikely -- the JDBC driver spawns no threads itself (except for
one at connection time if you specify a login timeout, but that's dead
by the time the connection is established) and the objects involved in a
connection should be entirely independent of objects in another connection.

I wonder if there is some cross-thread access to a particular connection
going on in your application. The JDBC spec says that the various
exposed objects should be individually threadsafe, but I'm not sure how
well we follow that.

-O



view thread (2+ messages)

Message-ID: <42B1F4D0.7060104@opencloud.com>
Permalink:  ../42B1F4D0.7060104@opencloud.com/
Also on:    postgresql.org/message-id/42B1F4D0.7060104@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, Kevin.Grittner@wicourts.gov
  Subject: Re: org.postgresql.util.PSQLException: The column name x was
  In-Reply-To: <42B1F4D0.7060104@opencloud.com>
  References: <s2b16042.079@gwmta.wicourts.gov> <42B1F4D0.7060104@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox