This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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
It's not a secret anymore!