Change in parameters' order in prepared statement??

From: Andres Olarte <olarte(dot)andres(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Change in parameters' order in prepared statement??
Date: 2005-09-02 22:33:57
Message-ID: 3fccaa69050902153329b4947@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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?

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2005-09-02 22:45:54 Re: Change in parameters' order in prepared statement??
Previous Message leon 2005-09-02 16:30:24 recommendation on bytea or blob for binary data like images