views:

105

answers:

1

We're currently using ojdbc14.jar, should we be using ojdbc6.jar ?

Update: Oracle 10g being used

+1  A: 

If you're working with java6, you can (and should) use ojdbc6.jar if it is compatible with your database.


Resources :

Colin Hebert
We're using 10g release 2 - ojdbc6 is not listed for 10g or am I missing something here?
JamesC
@JamesC, either upgrade your oracle version to 11g, or use the ojdbc14 version then. Even if it works (most of the time) it's not officially supported.
Colin Hebert
Seems the best advise is to always used the latest driver no matter the DB version according to http://serverfault.com/questions/10477/differences-between-classes12-jar-ojdbc14-jar-ojdbc5-jar-and-ojdbc6-jar
JamesC
@JamesC, As I said, it works most of the time, but it's isn't officially supported.
Colin Hebert
Understood. Will bare that in mind.
JamesC
"bear" that in mind.
duffymo