This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes JDBC CachedRowSet scrolling? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC CachedRowSet scrolling?" Watch "JDBC CachedRowSet scrolling?" New topic

JDBC CachedRowSet scrolling?

Bryan Scarbrough
Ranch Hand

Joined: Aug 08, 2005
Posts: 49
Does anybody know how to use the CachedRowSet to scroll through datasets without using JSP scriptlets? All the examples I have found use scriptlets, but I want to do it with a JavaBean and not through scriptlets in my JSP pages. The scriptlet offerd in the articles is below:

This is used where Contacts points to a JavaBean that currently stores the ResultSet. How can I implement something like this into the Bean instead of the JSP?

Bryan Scarbrough<br /> <br />Consistency is the last resort of the unimaginative!
myriah wind

Joined: Mar 04, 2005
Posts: 14
this may shed wome light on it
Bryan Scarbrough
Ranch Hand

Joined: Aug 08, 2005
Posts: 49
Interesting article, Thanks!
It is sorta covered in the JavaRanch Style Guide.
subject: JDBC CachedRowSet scrolling?
Similar Threads
reading cachedRowSet
How do I use the CacheRowSet?
Problem with sun.jdbc.rowset.CachedRowSet
jsp/ejb connection complications, please help