Solved

Oracle JDBC Driver with JDK 1.6

Posted on 2011-09-30
5
784 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
Comment Utility
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
Comment Utility

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
Comment Utility
The asnwer is not complete, but I'll take it into account.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
one-way data "masking" MD5 sql 26 95
advertisement module in core php 4 79
Java and GPO 11 45
ORA-12560: TNS:protocol adapter error 8 41
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

772 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

9 Experts available now in Live!

Get 1:1 Help Now