Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / September 2005

Tip: Looking for answers? Try searching our database.

Oracle database connections

Thread view: 
JTMOBAP - 06 Sep 2005 17:35 GMT
I am testing out Oracle 10g.  I have created the database, but I can't seem
to set up any driver for odbc.  I only know how to set up access db.  Does
anybody know how to create a connection to an oracle database from java?
HansF - 06 Sep 2005 17:40 GMT
> I am testing out Oracle 10g.  I have created the database, but I can't seem
> to set up any driver for odbc.  I only know how to set up access db.  Does
> anybody know how to create a connection to an oracle database from java?

Oracle has a wonderful document online at http://docs.oracle.com called
the "JDBC Developer's Guide and Reference".  That document not only tells
you how to set up and connect with the various drivers, it even discusses
why you want to chose one ddriver over the others in certain situations.
It's also got examples and test programs.

Signature

Hans Forbrich                          
Canada-wide Oracle training and consulting
mailto: Fuzzy.GreyBeard_at_gmail.com  
*** I no longer assist with top-posted newsgroup queries ***

Mark Bole - 08 Sep 2005 17:02 GMT
>>I am testing out Oracle 10g.  I have created the database, but I can't seem
>>to set up any driver for odbc.  I only know how to set up access db.  Does
[quoted text clipped - 5 lines]
> why you want to chose one ddriver over the others in certain situations.
> It's also got examples and test programs.

And as you read the documentation, you might also want to figure out if
you are trying to set up an ODBC connection from MS Access to Oracle, or
a JDBC connection from Java to Oracle.  They are two completely
different, separate things. (Unless you are talking Type 1 JDBC driver,
a JDBC-ODBC bridge...).  Setting up an ODBC data source using the
Windows control panel (admin tools) and using in Access is pretty
straightforward and requires no programming.

The "Heterogeneous Connectivity Administrator's Guide" also found at the
Oracle site has some further information on this topic as well.

-Mark Bole


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.