问题
We're currently using ojdbc14.jar, should we be using ojdbc6.jar ?
Update: Oracle 10g being used
回答1:
If you're working with java6, you can (and should) use ojdbc6.jar if it is compatible with your database.
Resources :
- oracle.com - JDBC drivers
回答2:
Short answer - yes, you should.
Long answer - look at compatibility tables in Oracle JDBC FAQ:
- Which JDBC drivers support which versions of Oracle Database?
- Which JDBC drivers support which versions of Javasoft's JDK?
For JDK 1.6 and Oracle 10g best option is o
来源:https://stackoverflow.com/questions/3922774/which-ojdbc-driver-for-java-6