Re: PG 8.0.3 - PreparedStatement Can't Use Query Methods exception

From: David Wall <d(dot)wall(at)computer(dot)org>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PG 8.0.3 - PreparedStatement Can't Use Query Methods exception
Date: 2005-08-10 17:18:08
Message-ID: 42FA36D0.5060906@computer.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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
>
>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message luis gomez 2005-08-11 00:54:04 driver
Previous Message Kris Jurka 2005-08-10 16:50:36 Re: PG 8.0.3 - PreparedStatement Can't Use Query Methods