Solved

Oracle JDBC Driver with JDK 1.6

Posted on 2011-09-30
5
805 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to recover a database from a user managed backup

730 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