• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

scrollable resultset with Oracle

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a situation where I want to display query result in a group of 30 results at a time.
right now I have a button which call same servlet. in the servlet I am checking whether it is firstime call or next Page call. for second call I am running same query skipping first 30 records. so no of click "next button" = no of times I am running the query.
Instead of that I'd like to use scrollable resultset

Please advice.
thanks
KR
 
Ranch Hand
Posts: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi KR,
Are you saying that you don't know how to create a scrollable result set using JDBC?
Have you seen the example code available from Oracle's Technet Web site? There are also examples available in the Oracle documentation, which is available from their Tahiti Web site.
Hope this helps.
Good Luck,
Avi.
 
reply
    Bookmark Topic Watch Topic
  • New Topic