Can I use Oracle JDBC 12.1.0.1 (for 12c database)

2020-06-08 18:49发布

问题:

Just a simple question (I guess). Oracle released a new JDBC driver for Oracle Database 12c including a Java 7 JDBC driver (ojdbc7 - 12.1.0.1). Here, we've been using Oracle 10g database with ojdbc6 for Oracle 11g (11.2.0.4) without any problem. Now, my questions.

If I upgrade my application server to use ojdbc7 for Oracle 12c, is it too risk? Does the Oracle maintains compatibility of their drivers with previous versions?

回答1:

Yes. This is officially supported per Oracle. http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#01_02