• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 859
  • Last Modified:

Oracle JDBC Driver with JDK 1.6

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
Wall4
Asked:
Wall4
  • 2
1 Solution
 
for_yanCommented:
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
 
for_yanCommented:

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now