This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I am trying to use CacheRowSet but am getting �javax.sql.rowset.CachedRowSet is abstract; cannot be instantiated� on this statement: CachedRowSet crs = new CachedRowSet();
How do I fix this? Do I need to import something other than javax.sql.rowset.* ?
You need to use a class that extends CachedRowSet and is not abstract. [ September 24, 2007: Message edited by: Michael Ku ]
John Riool
Greenhorn
Joined: Sep 24, 2007
Posts: 5
posted
0
How do I find a class that extends CachedRowSet? I think it may be CachedRowSetImpl from com.sun.rowset.CachedRowSetImpl. But from what I can tell from searching Google, a class should be included in javax.sql.
Michael Ku
Ranch Hand
Joined: Apr 20, 2002
Posts: 510
posted
0
John, I remember that this was a hard class to find when I looked at it over a year ago. It appears that it is still hard to find the impl class. I cannot remember where I found it. Try searching Sun or Apache sites for an implementation of CachedRowSet.
Here's what I found: CachedRowSet. Fascinating reading; I've never looked into this before.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi