This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "problem using CachedRowSet for scrolling" Watch "problem using CachedRowSet for scrolling" New topic
Author

problem using CachedRowSet for scrolling

khurram mirza
Greenhorn

Joined: Jun 10, 2001
Posts: 25
hi,
i've downloaded rowset.jar from java.sun.com.put 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 classes12.zip from oracle site and put that in your classpath. i hope things would start working for you.
 
Don't get me started about those stupid light bulbs.
 
subject: problem using CachedRowSet for scrolling
 
Similar Threads
package javax.sql not found error
Sample code for Connection pooling
javax.sql
Connection pool
Connection Pooling in WebSphere App Server