I have no instant help to offer here. However, I
doubt if you have put any data in your table. If yes, let's go on.
Here is a small trick. Since you are suspicious about your while loop, I suggest you PROVE or DISPROOVE such a conjectore. Remove while loop. Add some code like System.out.println(rSet.next());, if you see true, it means the code in your while loop is problematic.
I am using DB2 but I do not access DB2 using JDBC. I may ask one of my friends to have a look at your code.
This post has been archived. It cannot be replied.