Re: The column index is out of range in PostgreSQL + resolve - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: The column index is out of range in PostgreSQL + resolve
Date
Msg-id Pine.BSO.4.63.0608041223280.21278@leary2.csoft.net
Whole thread Raw
In response to The column index is out of range in PostgreSQL + resolve  ("Murali Doss" <Murali.Doss@mphasis.com>)
List pgsql-bugs
On Mon, 31 Jul 2006, Murali Doss wrote:

>
> SQL Query is running perfect from PG Admin but it gives error "The
> column index is out of range " when running through java
> application.Please advise me how to solve this issue.

This error message has nothing to do with the query execution, but rather
the fetching of results from the ResultSet.  I imagine you are using one
of the ResultSet.getXXX() methods using an improper column index.

Kris Jurka

pgsql-bugs by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: referential integrity violation - key referenced from
Next
From: Kris Jurka
Date:
Subject: Re: BUG #2559: why jdbc-driver AbstractJdbc2ResultSetMetaData.