File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes  Please! How do I use javax.sql in WSAD? 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 » Products » Websphere
Bookmark " Please! How do I use javax.sql in WSAD?" Watch " Please! How do I use javax.sql in WSAD?" New topic

Please! How do I use javax.sql in WSAD?

Josh M Kilpatrick

Joined: Jun 20, 2002
Posts: 1
I am migrating from VAJ 3.5 to WSAD 4.0. I am getting errors at certain import statements, such as the ones for javax.sql. I noticed that this package is not in WSAD. Is there another package it uses instead? How can I import this package? :roll:
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
javax.sql IS in WSAD, but you have to set the classpath correctly for your project. Did you remember to make your project an EJB project (or a Web project) when you imported your code, or are you working in a generic Java project -- the former two set the classpath to include the right JAR files automatically, but the latter does not...

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: Please! How do I use javax.sql in WSAD?
Similar Threads
package javax.sql not found error
Inserting Date in database
DataSource class not found
Failed to register driver for: com.mysql.jdbc.Driver; - nested throwable: (java.lang