Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases and the fly likes Doubt on cursor position of resultset? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Doubt on cursor position of resultset?" Watch "Doubt on cursor position of resultset?" New topic

Doubt on cursor position of resultset?

dhwani mathur
Ranch Hand

Joined: May 08, 2007
Posts: 621
hi all

i am trying to insert data in the table
but since the process go as follows....
1)First i get data for one column(having 100 records) then i insert it
in the table.
2)Second i get data for another column of the same table but
i am getting stucked here since now the cursor
has added 100 records to table for first column value
so it starts adding from 101 number row in the second column
of the table so i wanted to know by using which methods i can a
get the cursor back on the position so that it adds data from start
in the second column as well.
i went through some API even tried few methods
ResultSet rs;

but still cant get any solution...........
any help on to which method i must use
will be great.

Thanks in advance.

Dhwani:>Winning is not important but it is the only thing.
I agree. Here's the link:
subject: Doubt on cursor position of resultset?
It's not a secret anymore!