I need to get the next row if i run the program

Hello Frndz !!!

I am developing a standalone application. The problem is below..

I have a table with 3 rows.

TABLE

1.RAKESH

2.SUNEEL

3.SRIRAM

if i run the application 1st time, i want to get the first row( 1, RAKESH).

if i run the application 2nd time, i want to get second row(2, SUNEEL).

if i run the application 3rd time, i want to get third row(3, SRIRAM).

if i run the application 4th time, again i want to get rows from first(1, RAKESH).

in this way i want to repeat the content that is available in the table.PLZ help me....

[607 byte] By [rakesh_yadaa] at [2007-11-27 2:42:12]
# 1
You can manually set the cursors in the ResultSet. Check the [url= http://java.sun.com/j2se/1.5.0/docs/api/java/sql/ResultSet.html]ResultSet API[/url] for all available methods.
BalusCa at 2007-7-12 3:06:39 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
I have a good solution to your problem. However, after a look at your previous threads, you never reward who helped you !!
java_2006a at 2007-7-12 3:06:39 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 3
So, dukes are the holy grain? Grow up.
BalusCa at 2007-7-12 3:06:39 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 4
>So, dukes are the holy grain? Grow up.You too, you have to grow up and to shut it down !!I don't need his/her duke(s). However, assigning dukes just to draw attention of other is unhonest.
java_2006a at 2007-7-12 3:06:39 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 5
Plz give Solution if u Know. its very important 4 me...
rakesh_yadaa at 2007-7-12 3:06:39 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 6
Sorry -doublepost-Message was edited by: BalusC
BalusCa at 2007-7-12 3:06:39 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 7
Click at the link I provided here above. It is in there. Check out the method summary.
BalusCa at 2007-7-12 3:06:39 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...