Meaningless Drivel is fun!*
The moose likes JDBC and the fly likes execution not going in while loop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "execution not going in while loop" Watch "execution not going in while loop" New topic
Author

execution not going in while loop

Babu Singh
Ranch Hand

Joined: Aug 17, 2009
Posts: 72

it is not going in while loop.



output:
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

That means your query is not returning anything. You should verify the SQL statement you are passing actually returns results.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: execution not going in while loop
 
Similar Threads
Need help
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state
sun.jdbc is not available
Database access, potential threading problem?
Access Data from Database By Submitting The select Values