Two Laptop Bag*
The moose likes JDBC 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
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
Similar Threads
performance issue in iterating through large list of result set
Concurrency Issue with HSQLDB
Sun ODBC driver
Database access, potential threading problem?
why do I get this exception