• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQL Exception

 
Anil Nahta
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic