Solved

Using JDBC to connect a ODBC data source

Posted on 2002-03-14
5
190 Views
Last Modified: 2010-03-31
First excuse me my poor english.(I'm Spanish speaker)
My problem is this:

I know that para registrar un driver I use:

// registrar driver
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
} catch (Exception e) {
System.out.println(e);
}

But i need know where are the file that contain this drivers.

If somebody can help I thanks.
0
Comment
Question by:HenryMon
5 Comments
 

Expert Comment

by:ashish_1319
Comment Utility
There are 2-3 files that you can download from the net. I can name the files in which you can find the drivers.
classes12.zip , classes102.zip, classes111.zip

These are the zip files we use when we connect to the Oracle database.



Thanks
Ashish
0
 
LVL 4

Accepted Solution

by:
m_onkey_boy earned 100 total points
Comment Utility
Those classes are in rt.jar in your jdk/jre/lib directory.
0
 
LVL 4

Expert Comment

by:m_onkey_boy
Comment Utility
(classes12.zip , classes102.zip, classes111.zip)

Those are the Oracle type4 drivers, where he is using the jdbc:odbc bridge.
0
 
LVL 9

Expert Comment

by:Venci75
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by: m_onkey_boy
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venci75
EE Cleanup Volunteer
0
 
LVL 5

Expert Comment

by:Netminder
Comment Utility
Per recommendation, force-accepted.

Netminder
EE Admin
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now