• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Making ResultSet object scrollable

 
sajeev varghese
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using getColumns method of databasemetadata which returns resultset.
This resultset returns information about each columns as seperate rows.I want to iterate through these rows.
please note that I am not using any preparedStatement or createstatement methods.
Please tell me how to make this resultset scrollable.
Thanks in advance.
 
Paul Clapham
Sheriff
Posts: 21113
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a link to the JDBC tutorial:

http://java.sun.com/docs/books/tutorial/jdbc/

Notice how that page contains the words "scrollable result set", so that should help you to find the information.

By the way I don't keep that link anywhere, when I want to find it I type "jdbc tutorial" into my favourite search engine and it pops up as the first result. You can go a long way with that technique.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic