Re: Oracle database connections



HansF wrote:

On Tue, 06 Sep 2005 12:35:11 -0400, JTMOBAP interested us by writing:


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.



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



.



Relevant Pages

  • Microsoft ODBC for Oracle Driver problem
    ... I think I have a resource issue with this driver. ... we are having an issue where suddenly the ODBC ... customer on that hosted machine. ... Microsoft ODBC Driver for Oracle. ...
    (microsoft.public.data.odbc)
  • Re: DSN-less connection for Informix database
    ... build an odbc for using the specificed driver ... ... Pervasive ODBC client Interface ... ... having to SETUP an odbc connection profile .. ... in your connection string, replace the DNS=jaco ... ...
    (microsoft.public.dotnet.languages.vb)
  • Re: DSN-less connection for Informix database
    ... registry to get this information ... ... for each installed ODBC driver you have a key / value combination ... ... on is having to SETUP an odbc connection profile .. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Oracle 9i ODBC Driver for Windows XP 64 (XP 2003)
    ... One thing to try is to use the 32-bit ODBC Data Source Adminstrator. ... the Oracle driver is there. ...
    (comp.databases.oracle.server)
  • Re: DSN-less connection for Informix database
    ... Is there a way to find out the ODBC driver version on the client ... on is having to SETUP an odbc connection profile .. ... in your connection string, replace the DNS=jaco ... ...
    (microsoft.public.dotnet.languages.vb)