aspose file tools*
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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQL Exception" Watch "SQL Exception" New topic
Author

SQL Exception

Anil Nahta
Greenhorn

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
Greenhorn

Joined: May 12, 2003
Posts: 7
Hi,
I am not sure about the exact reason, but I don't think you are creating / getting the connection itself.
Thanks,
Vani Yama
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SQL Exception