aspose file tools*
The moose likes JDBC and the fly likes results Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "results" Watch "results" New topic
Author

results

Donald Wynn
Greenhorn

Joined: Dec 04, 2002
Posts: 29
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

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Sep 08, 2004
Posts: 1
Gracias por su ayuda.

Alexis
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: results