Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help on invalid column number...

Status
Not open for further replies.

GoSooJJ

Programmer
Feb 24, 2001
76
0
0
US
hi all,
i have some problem on understanding this error message.
what is &quot;java.sql.SQLException: [Oracle][ODBC]Invalid column number <1>.&quot; or <2> or <3> error means?
i moved access database to oracle last weekend successfully and now i face with this error. however, some templates are working fine.
does error is relate to date data type?
the database is running under oracle 8 and used jsp code.
again, thx for great site~~~

JJ //
 
Hi GoSooJJ

When I encounter this error it's normally because I've 'forgotten' that column indexes in a ResultSet are not zero-based. Either that or I'm making a call to a statement that takes input parameters and I'm registering too many. Post the code that is spawning the exception and it should be possible to spot.

J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top