What is the difference between ojdbc6.jar and ojdbc14.jar?

java, jboss, oracle, oracle11g

Solution

Both jars will work, but ojdbc6.jar is better, it is for Java 6. Newer Java versions add features unavailable in older version, new things are marked with `Since` tag in javadoc, eg Java 7 `Connection.abort` is tagged with

Since: 1.7

if you call a method missing in the jar you will get java.lang.AbstractMethodError

Problem

Possible Duplicate: ojdbc14.jar vs. ojdbc6.jar What is the difference between ojdbc6.jar and ojdbc14.jar? I am using jBoss 5.1.0 GA and Oracle database 11g R2 XE with jdk1.7.0_02. Which jar file should I use?

Original source

Related problems