Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Oracle Database Connection

  Asked By: Madeline    Date: Jul 27    Category: Java    Views: 771
  

I just started to learn Java. I have a specific need
to create a java program where I will be able to pass values to the
program and have it query an Oracle database returning a value.

I am writing this program to run on a Windows 2000 server and this
Oracle Database resides on the server as well but I will have a need
to have the Java program query an Oracle database on an Unix server
too.

What is the best way to connect to the Oracle database? ODBC
connection?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Tarrant Thompson     Answered On: Jul 27

in java  use JDBC; Oracle has developed its own native JDBC drivers,
so they should in any case give better performance than the JDBC-ODBC
bridge together with an ODBC connection  to Oracle.
One gotcha: I've never worked with ODBC or JDBC, but the use of JDBC
is that it provides a native Java interface to _all_ kinds of
databases (as long as they provide a JDBC interface as well).

 
Didn't find what you were looking for? Find more on Oracle Database Connection Or get search suggestion and latest updates.




Tagged: