aspose file tools*
The moose likes JDBC and the fly likes Jave dependency on verion of oracle. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Jave dependency on verion of oracle." Watch "Jave dependency on verion of oracle." New topic
Author

Jave dependency on verion of oracle.

Prabhakar Digumarthi
Greenhorn

Joined: Aug 29, 2008
Posts: 3
HI Iam new to JAVA.HI I am working in Unix environment.One of my shell script is calling a javaprogram.This Java program is inturn connecting to oracle database using configuration file which is in Xml format.The configuration contains db userid,password,and the driver name.

Now in our unix server we have installled oracle 10g.WIll java depend on oracle version installed if so how to make the javadriver to point to 10g folder rather than 8i folder of oracle installed in the unix server.

It would we agreat help if some one explains about how a javaprogram will connect to databases in detail
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38353
    
  23
Don't know how you tell Java to connect to a particular version, but I suggest you go through the Java Tutorials as well as the documentation for Oracle, which should tell you what to do.

And welcome to JavaRanch
[ August 30, 2008: Message edited by: Campbell Ritchie ]
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1125

Prabhakar,
The important part is the JDBC driver you use.
It must be compatible with both the java version you are using and the Oracle database version you are using.
Please refer to this Web page for more details:

http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html

Good Luck,
Avi.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jave dependency on verion of oracle.