aspose file tools*
The moose likes JDBC and the fly likes CachedRowSet problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "CachedRowSet problem" Watch "CachedRowSet problem" New topic
Author

CachedRowSet problem

jayram
Ranch Hand

Joined: Oct 30, 2000
Posts: 94
Hello
I am getting following exception while using CachedRowSet
sun.jdbc.rowset.CachedRowSet is an abstract class. It can't be instantiated.
ccls_CachedRowSet = new CachedRowSet();
The program works fine most of the time and suddenly gives this error. Same problem when using it with Resin. But in this case the problem occurs more often. Any solutions???
Cheers
Jayram
Adam Hardy
Ranch Hand

Joined: Oct 09, 2001
Posts: 566
I had this problem six months ago - it mostly solved itself somehow while I was desperately trying to fix it and I wasn't able to tell exactly why.
I set up a new Java development workstation and the error started. On my old machine it was still OK.
Somebody said it might be an old version of CachedRowSet in one of my JARs somewhere. Are you running J2EE as well? Try de-installing that.
Also, try putting rowset.jar in the first directory quoted in your classpath.
I'd be interested to know if that helps.
Adam


I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
jayram
Ranch Hand

Joined: Oct 30, 2000
Posts: 94
well,
I havent done any changes to my config. It hasnt given me any problems for last 3/4 days.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: CachedRowSet problem