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.
Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
Joined: Oct 06, 2008
Hi Shailesh, Thanks for that wonderful example. The problem in my code was that for debugging i have used next method somewhere already in my application. So, when i tried using the next method again it is called again but there are no rows to execute. Thats why it failed.