Hi Shobhita ,
Can you share the solution? It can help other ranchers that have the same issue.
OCUP UML fundamental and ITIL foundation
Joined: Mar 18, 2010
the problem i was mainly facing was that i was using a resultset and passing the values of my database in it. i was also using the .next() method but the mistake i was making was that i was terminating the while loop before it even starts iterating.
ie: i was writing while(rs.next());
instead of while(rs.next())