From: David Wall <d.wall@computer.org>
To: pgsql-jdbc@postgresql.org
Subject: Re: PG 8.0.3 - PreparedStatement Can't Use Query Methods exception
Date: Wed, 10 Aug 2005 10:18:08 -0700
Message-ID: <42FA36D0.5060906@computer.org> (raw)
In-Reply-To: <Pine.BSO.4.56.0508101148520.20899@leary.csoft.net>
References: <42FA2E1D.1060109@computer.org>
<Pine.BSO.4.56.0508101148520.20899@leary.csoft.net>
Thanks, Kris. I didn't even SEE that I had submitted the query string
in both places (in the prepareStatement as well as the executeQuery
methods), which is clearly not what I had intended, though I got away
with it before I suppose.
David
>The JDBC 3 Spec 13.2.4 says, "If any of the PreparedStatement execute
>methods is called with an SQL string as a parameter, an SQLException is
>thrown."
>
>Kris Jurka
>
>
>
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: d.wall@computer.org
Subject: Re: PG 8.0.3 - PreparedStatement Can't Use Query Methods exception
In-Reply-To: <42FA36D0.5060906@computer.org>
References: <42FA2E1D.1060109@computer.org> <Pine.BSO.4.56.0508101148520.20899@leary.csoft.net> <42FA36D0.5060906@computer.org>
* 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