File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Anil Nahta

Joined: Apr 21, 2003
Posts: 4
I am getting the below mentioned SQL exception in this programme ,I am using this class as a bean in jsp page.
when I call getQuestion(String str) ,I got the below mentioned error,though It gave first record,but after that their was no record in resultset.

inside rs1java . sql .SQLException: [Microsoft][ODBC Driver Manager] Invalid descriptor index
[ edited to preserve formatting using the [code] and [/code] UBB tags and to remove the evil tab character -ds ]
[ April 29, 2003: Message edited by: Dirk Schreckmann ]
Vani Yama

Joined: May 12, 2003
Posts: 7
I am not sure about the exact reason, but I don't think you are creating / getting the connection itself.
Vani Yama
I agree. Here's the link:
subject: SQL Exception
jQuery in Action, 3rd edition