Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Himai Minh

Doubt on cursor position of resultset?

Ranch Hand
Posts: 621
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic