File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes how  to connect EJB,to a oracle database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how  to connect EJB,to a oracle database" Watch "how  to connect EJB,to a oracle database" New topic
Author

how to connect EJB,to a oracle database

Sai Chidhambaram
Greenhorn

Joined: Feb 16, 2004
Posts: 2
hi friends,
i am doing my final year project using EJB,JSP & ORACLE.
I am unable to connect to the database.
the error message i am recieving ---- SQL driver not found
I am using:
Windows 2000 proffesional os
JDK1.3
J2SDKEE1.3
Oracle 8i (version 8.1.7)
Is it required to add any new driver ?
If any from where and how ?
PLEASE RESPOND AS SOON AS POSSIBLE.
IT IS VERY URGENT.
Thanking You,
Sai.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8996
    
    9

The Oracle JDBC driver is in a file called classes12.zip. Find it and put it into your classpath.


[How To Ask Questions On JavaRanch]
Sai Chidhambaram
Greenhorn

Joined: Feb 16, 2004
Posts: 2
THANKS FOR YOUR REPLY.
I AM UNABLE TO DOWNLOAD THE FILE YOU TOLD FROM THE ORACLE SITE though i accepted all the terms and conditions the mentioned.
also please tell me where to add the file
Thanking you once more
Bye.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8996
    
    9

You don't need to download it. It should have come with your Oracle installation. If you have the client installed locally, it will be in the <drive>\Oracle8i\jdbc\lib directory.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to connect EJB,to a oracle database