• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

results

 
Donald Wynn
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to see the results of a sql query but I 'm getting this error:
java.sql.SQLException: JZ0R1: Result set is IDLE as you are not currently accessing a row.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Donald,
Before calling any getXXX methods on the ResultSet, you need to call the next() method and make sure it returns true (false would mean no rows).
Cheers
 
Alexis Cifuentes
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gracias por su ayuda.

Alexis
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic