How to deal java.sql.SQLException: Invalid column index
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
How to deal java.sql.SQLException: Invalid column index
Main reason of SQLException:Invalid Column Index is either you are trying to read an invalid column index from result set returned by Query or you arehttp://javarevisited.blogspot.com/2012/01/javasqlsqlexception-invalid-column.html
Total Hits: 6128
Total Votes: 17 votes
Category: JAVA/JDBC
Submitted on: 2012-02-05 05:16:24
Submitted By: Javin Paul
Description:
Main reason of SQLException:Invalid Column Index is either you are trying to read an invalid column index from result set returned by Query or you are setting parameter on parametric prepared Statement on invalid index using getString or setString method. usually this comes when programmer uses index "0" to refer first element which is not true because index starts from "1" in preparedStatement and ResultSet. More detail...Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 11.76% |
2 |
![]() ![]() |
![]() ![]() 11.76% |
2 |
![]() ![]() ![]() |
![]() ![]() 17.65% |
3 |
![]() ![]() ![]() ![]() |
![]() ![]() 17.65% |
3 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 29.41% |
5 |





11.76%

11.76%

17.65%

17.65%

29.41%