Solved

Oracle JDBC Driver with JDK 1.6

Posted on 2011-09-30
5
789 Views
Last Modified: 2012-05-12
Hi,

if I'm developing a JDK 1.6 java program with an oracle database, do I have to use "ojdbc6.jar" regardless of the oracle database version? Is there just one "ojdbc6.jar" for the whole oracle database versions?

what's "ojdbc6_d.jar" for and how I can use it?

what is OracleDataStoreHelper, can I use Oracle11gDataStoreHelper with a lower version of oracle database?

Thanks in advance.

 
0
Comment
Question by:Wall4
  • 2
5 Comments
 
LVL 47

Expert Comment

by:for_yan
ID: 36903177
I think ojdbc6.jar is rather recent (I think even the latest) oracle jdbc driver - so you can use it (it doesn't matter much which jdk you are using). Oraxle drivers are very much downward compatibke therefire thuis one witll work with older versions of oracle - like oracle10, oracle9 or even oracle8.
Ojdbc6.jar is the only jar you would need to esrablish connection and do sql operations with oracle database. This jar should be on the classpath of your java application
0
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
ID: 36903301

this is where you may download the latest ojdbc6.jar:

http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html

Don't know about ojdbc6_d.jar, on the above download page you can read about
ojdbc6_g.jar - this one has more trace information when
printing error trace.
I use ojdbc6.jar and very happy with it, don't know mabe with some debugging stuf ojdbc6_g.jar
may be useful.


Don't know about OracleDataStoreHelper, it looks like it is some stuff from IBM
dealing more with SQLException and transactions -if you are using soemthing WebSphere
realted things - sorry, don't know about it

http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=%2Fcom.ibm.wasee.doc%2Finfo%2Fee%2Fjavadoc%2Fae%2Fcom%2Fibm%2Fwebsphere%2Frsadapter%2FOracleDataStoreHelper.html
0
 

Author Closing Comment

by:Wall4
ID: 36919095
The asnwer is not complete, but I'll take it into account.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now