Solved

Using JDBC to connect a ODBC data source

Posted on 2002-03-14
5
197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Expert Comment

by:ashish_1319
ID: 6866599
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
ID: 6867001
Those classes are in rt.jar in your jdk/jre/lib directory.
0
 
LVL 4

Expert Comment

by:m_onkey_boy
ID: 6867013
(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
ID: 7901444
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
ID: 7962573
Per recommendation, force-accepted.

Netminder
EE Admin
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This video teaches viewers about errors in exception handling.
Suggested Courses

752 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