• 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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!