File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes CachedRowSet - Can't get an instance 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 "CachedRowSet - Can Watch "CachedRowSet - Can New topic

CachedRowSet - Can't get an instance

Kevin Kruse

Joined: Jan 11, 2004
Posts: 3
There are many examples of how to use sun.jdbc.RowSet.CashedRowSet along with links to where to get the supporting jar file. However the newer rowset.jar files that I can find at the sun web site don't work with these examples. At the bottom of this post are the links to the early reference download for rowset.jar that I used and a couple of articles that I am talking about.
The problem is that I can't get an instance of CashedRowSet.
The following is a code snippet:
import java.sql.*;
import javax.sql.*;
import sun.jdbc.rowset.*;
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(SQL);
CachedRowSet crs = new CachedRowSet();

It throws the exception: "javax.sql.rowset.CachedRowSet is abstract; cannot be instantiated."
Obviously with so many articles and examples out there it used to work.
Can anyone help ?
"Get disconnected with CachedRowSet"
jGuru Q&A
Early Access JDBC Rowset Implementations
Sergiu Truta
Ranch Hand

Joined: Dec 16, 2003
Posts: 121
post your email and I can send a jar that contains the implementation for CachedRowSet. I have faced this problem myself couple of months ago but eventually found a good jar. I'm walking the path...
Kevin Kruse

Joined: Jan 11, 2004
Posts: 3
I am so happy to hear from you and that you have a rowset.jar file for me!
Please send it to
This is Great!
Thanks you!
Kevin Kruse
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Moving to the JDBC Forum...
I agree. Here's the link:
subject: CachedRowSet - Can't get an instance
It's not a secret anymore!