Re: Columns out of range-error - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Columns out of range-error
Date
Msg-id 4126B0EE.2070900@opencloud.com
Whole thread Raw
In response to Re: Columns out of range-error  ("Andreas Percher" <andreas.percher@automedia.de>)
Responses Re: Columns out of range-error
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Columns out of range-error
Next
From: Dave Cramer
Date:
Subject: Re: Columns out of range-error