Skip site navigation (1) Skip section navigation (2)

Re: The column index is out of range in PostgreSQL + resolve

From: Kris Jurka <books(at)ejurka(dot)com>
To: Murali Doss <Murali(dot)Doss(at)mphasis(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: The column index is out of range in PostgreSQL + resolve
Date: 2006-08-04 17:25:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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

In response to

pgsql-bugs by date

Next:From: Kris JurkaDate: 2006-08-04 17:31:00
Subject: Re: BUG #2559: why jdbc-driver AbstractJdbc2ResultSetMetaData.
Previous:From: Stephan SzaboDate: 2006-08-04 16:19:01
Subject: Re: referential integrity violation - key referenced from

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group