From: Dave Cramer <pg@fastcrypt.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: andreas.percher@automedia.de
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Columns out of range-error
Date: Sat, 21 Aug 2004 12:03:07 -0400
Message-ID: <1093104187.20387.84.camel@localhost.localdomain> (raw)
In-Reply-To: <4126B0EE.2070900@opencloud.com>
References: <000101c486c7$410b4cd0$1600a8c0@developer>
<4126B0EE.2070900@opencloud.com>
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
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: pg@fastcrypt.com, oliver@opencloud.com, andreas.percher@automedia.de
Subject: Re: Columns out of range-error
In-Reply-To: <1093104187.20387.84.camel@localhost.localdomain>
References: <000101c486c7$410b4cd0$1600a8c0@developer> <4126B0EE.2070900@opencloud.com> <1093104187.20387.84.camel@localhost.localdomain>
* 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