wood burning stoves
The moose likes JDBC and Relational Databases and the fly likes Type 2 dirvers 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 "Type 2 dirvers" Watch "Type 2 dirvers" New topic
Author

Type 2 dirvers

venu venkata vara prasad
Greenhorn

Joined: Jun 25, 2008
Posts: 3
while i am using type2 drivers to connect database it says import oracle.jdbc.driver.*; is not found. what is the problem.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Do you have those classes/packages in the classpath?
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3740
    
  10

Sounds like your compile (Eclipse?) does not have access to the JDBC library. You should consult whatever tool your using to compile it and verify the jar exists and is in the class path.


[OCA 8 Book] [Blog]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Type 2 dirvers
 
It's not a secret anymore!