my dog learned polymorphism
The moose likes JDBC and Relational Databases and the fly likes sql Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "sql Exception" Watch "sql Exception" New topic

sql Exception

Karthikeyan Alagarsamy

Joined: Feb 17, 2005
Posts: 5
hi to all

i am using jdbcodbc connection .how to solve the exception.
exception is java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid descriptor index
Mani Ram
Ranch Hand

Joined: Mar 11, 2002
Posts: 1140
Looks like the column index you are passing in your getXXX method is not right. Can you post the code, which throws the exception?

Quaerendo Invenietis
cat cater
Ranch Hand

Joined: Jun 06, 2005
Posts: 39
god,your sql syntax is wrong.please check.
I agree. Here's the link:
subject: sql Exception
jQuery in Action, 3rd edition