This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 5811
    
    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
sun.jdbc is not available
Database access, potential threading problem?
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state
Access Data from Database By Submitting The select Values
Need help