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 66CA15E46C7 for ; Fri, 20 Aug 2004 23:18:34 -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 70563-04 for ; Sat, 21 Aug 2004 02:18:32 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 3C2425E37CB for ; Fri, 20 Aug 2004 23:18:28 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1ByLSc-0004mK-00; Sat, 21 Aug 2004 14:18:26 +1200 Message-ID: <4126B0EE.2070900@opencloud.com> Date: Sat, 21 Aug 2004 14:18:22 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: andreas.percher@automedia.de Cc: pgsql-jdbc@postgresql.org Subject: Re: Columns out of range-error References: <000101c486c7$410b4cd0$1600a8c0@developer> In-Reply-To: <000101c486c7$410b4cd0$1600a8c0@developer> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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/125 X-Sequence-Number: 10847 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