From: Andres Olarte <olarte.andres@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Change in parameters' order in prepared statement??
Date: Fri, 2 Sep 2005 16:33:57 -0600
Message-ID: <3fccaa69050902153329b4947@mail.gmail.com> (raw)
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?
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: olarte.andres@gmail.com
Subject: Re: Change in parameters' order in prepared statement??
In-Reply-To: <3fccaa69050902153329b4947@mail.gmail.com>
References: <3fccaa69050902153329b4947@mail.gmail.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