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 problem using CachedRowSet for scrolling 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 "problem using CachedRowSet for scrolling" Watch "problem using CachedRowSet for scrolling" New topic

problem using CachedRowSet for scrolling

khurram mirza

Joined: Jun 10, 2001
Posts: 25
i've downloaded rowset.jar from it in classpath where servlet.jar and other jar files exist.specify it in autoexec.bat as well.but when i complie the servlet which import sun.jdbc.rowset.* and javax.sql.* packages,it gives error that package javax.sql.* does not exist.
i'm using ms access and type 1 driver.the compiler for java is jdk1.3 standard edition.please help me.
thanks in advance.
khurram mirza.
Amit Agrawal
Ranch Hand

Joined: Aug 23, 2001
Posts: 282
sad thing that rowset is available from jdk1.4 onward so your compiler can't find it as you are using jdk1.3.
moreover, i am sure that ms-access hasn't have given any thin driver which supports rowset.
anyway, a work around (which is really not a very good thing but i think its ok till we get jdk1.4 final version). just download latest from oracle site and put that in your classpath. i hope things would start working for you.
I agree. Here's the link:
subject: problem using CachedRowSet for scrolling
jQuery in Action, 3rd edition