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
Solved

Oracle JDBC Driver with JDK 1.6

Posted on 2011-09-30
5
801 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
pl/sql - query very slow 26 73
jmss example java 2 23
UTL_FILE invalid file operation 5 28
Java class and jar 3 25
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
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 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 covers a step-by-step guide to install VisualVM launcher in eclipse.

829 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