This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
In the following code rs.next() is returning false even when the row exist in the database.
The sql query returning row in command line but returning false in code given below.
Kindly tell me that where i am making mistake.