From: Oliver Jowett <oliver@opencloud.com>
To: Andres Olarte <olarte.andres@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Change in parameters' order in prepared statement??
Date: Sat, 03 Sep 2005 10:45:54 +1200
Message-ID: <4318D622.9030007@opencloud.com> (raw)
In-Reply-To: <3fccaa69050902153329b4947@mail.gmail.com>
References: <3fccaa69050902153329b4947@mail.gmail.com>
Andres Olarte wrote:
> I recently updated the driver to the latest CVS version, and found a
> change in the way parameters are handled. Before, the first parameter
> was 1, as in:
>
> update.setInt(1,cbid);
>
> But now it's 2, as in:
>
> update.setInt(2,cbid);
>
> I'm using only IN parameters to call a prepared SELECT. Is this the
> correct behaviour? Is it going to stay this way?
This sounds like a bug -- can you provide a more detailed testcase?
-O
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, olarte.andres@gmail.com
Subject: Re: Change in parameters' order in prepared statement??
In-Reply-To: <4318D622.9030007@opencloud.com>
References: <3fccaa69050902153329b4947@mail.gmail.com> <4318D622.9030007@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