• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jave dependency on verion of oracle.

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Marshal
Posts: 79151
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic