X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5FBBAD899F for ; Fri, 2 Sep 2005 19:33:56 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 90404-05 for ; Fri, 2 Sep 2005 22:33:55 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by svr1.postgresql.org (Postfix) with ESMTP id DED65D8721 for ; Fri, 2 Sep 2005 19:33:54 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id i4so628735wra for ; Fri, 02 Sep 2005 15:33:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=d8Y+Om9xOJTe02GiJyK0bzjrYxwwpkQoV/CMybDKef9Exl3KqJN/Fu+bnDck08s5TAFzVInz45eTJHBMoEmEDUpeOA4XrsibeyooIfR17BuYFJ9O5M4PS6wCQyS2QM+SnIT0sjaR5Xkomz46VasjBqL+l6MBgIbO0LedV27cwgQ= Received: by 10.54.130.10 with SMTP id c10mr2826571wrd; Fri, 02 Sep 2005 15:33:57 -0700 (PDT) Received: by 10.54.89.17 with HTTP; Fri, 2 Sep 2005 15:33:57 -0700 (PDT) Message-ID: <3fccaa69050902153329b4947@mail.gmail.com> Date: Fri, 2 Sep 2005 16:33:57 -0600 From: Andres Olarte To: pgsql-jdbc@postgresql.org Subject: Change in parameters' order in prepared statement?? Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.399 required=5 tests=[AWL=0.375, RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200509/14 X-Sequence-Number: 13799 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?