The column index is out of range in PostgreSQL + resolve

Started by Murali Dossover 19 years ago2 messagesbugs
Jump to latest
#1Murali Doss
Murali.Doss@mphasis.com

Dear All,

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.

Best Regards

Murali

#2Kris Jurka
books@ejurka.com
In reply to: Murali Doss (#1)
Re: The column index is out of range in PostgreSQL + resolve

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