Vishal
Vishal

Reputation: 804

Which ojdbc driver I could use for Oracle 12cR2 and JDK 11 application

Question: What exact ojdbc driver should I use for: Oracle 12cR2 (12.2) with JDK 11

Reference: I am referring https://www.oracle.com/database/technologies/faq-jdbc.html#01_01

enter image description here

Which says for ojdbc8.jar. Now there are multiple versions released of ojdbc8.

The one which is release with Oracle 12.2 is not compatible with JDK11. (https://www.oracle.com/database/technologies/jdbc-ucp-122-downloads.html)

The one which is released with Oracle 19c (19.3) is compatible with JDK11 (https://www.oracle.com/database/technologies/appdev/jdbc-ucp-19c-downloads.html)

So I cannot find a clear explanation of using ojdbc jar to be used with Oracle 12.2 and JDK11. Can I use ojdbc8 jar released with Oracle 19c for Oracle 12.2/12cR2?

Upvotes: 3

Views: 10587

Answers (1)

Nirmala
Nirmala

Reputation: 1338

Yes, you can use 19c JDBC driver with Oracle Database 12.2. Please see the below in FAQ that shows the JDBC driver and the database compatibility.

enter image description here

Upvotes: 6

Related Questions