X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8E5D05E46D6 for ; Sat, 21 Aug 2004 13:01:40 -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 42037-09 for ; Sat, 21 Aug 2004 16:01:43 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 84BEF5E46CA for ; Sat, 21 Aug 2004 13:01:33 -0300 (ADT) Received: (qmail 10365 invoked from network); 21 Aug 2004 16:01:37 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 21 Aug 2004 16:01:37 -0000 Subject: Re: Columns out of range-error From: Dave Cramer Reply-To: pg@fastcrypt.com To: Oliver Jowett Cc: andreas.percher@automedia.de, "pgsql-jdbc@postgresql.org" In-Reply-To: <4126B0EE.2070900@opencloud.com> References: <000101c486c7$410b4cd0$1600a8c0@developer> <4126B0EE.2070900@opencloud.com> Content-Type: text/plain; charset=ISO-8859-1 Organization: Cramer Consulting Message-Id: <1093104187.20387.84.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 21 Aug 2004 12:03:07 -0400 Content-Transfer-Encoding: 8bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/126 X-Sequence-Number: 10848 Oliver, This should throw an error if you try to setXXX(n,obj) if n is greater than the number of parameters you have? dave On Fri, 2004-08-20 at 22:18, Oliver Jowett wrote: > Andreas Percher wrote: > > > Sending a "begin" it gives us a SQL Error > > "Spaltenindex außerhalb des gültigen Bereichs" > > Which meens > > "The column index is out of range." > > > > --> postgresql.res.colrange:Spaltenindex außerhalb des gültigen Bereichs > > > > --> postgresql.res.colrange:The column index is out of range. > > > > This error message occur after 13-16 inserts, depending on the column > > count of each insert. Sending the inserts without the long data field > > "specialequipment", results in letting the error occur one insert later. > > > > In case of the Error, round about 600 columns (counted over all inserts) > > are waiting for its commitment. > > Can you provide the full stack trace? I just dug through the driver and > the only place that this exception will be thrown is when querying a > ResultSet (either a ResultSet.getXXX() call, or from inspecting a > ResultSetMetaData). It seems strange that these methods would ever get > invoked if you're only doing updates.. > > -O > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > -- Dave Cramer 519 939 0336 ICQ # 14675561 www.postgresintl.com