Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

result set exhausted

 
thri nath
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am getting and error as result set exhausted.in tomcat webserver and one thing i didn't close anyone like con.closeor resultset.close
 
Subhadip Chatterjee
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nath,
what i can infer from this, is your resultset has got no records in it, and you are trying to do resultset.next() & the trying to access the field values. Check your resultset & probably SQL query. whether it's actually giving you back some records!!!
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, i can't really get what you are trying to do.
Can you make it simpler with details.

or it's better to comeup with you code, exception or error in order to help you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic