Technology Sharing

View the JDBC driver versions supported by Oracle ojdbc

2024-07-11

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

Oracle jcbc driver download address reference:JDBC and UCP Downloads page

In fact, the above text has already explained the JDBC driver version supported by ojdbc. However, because Oracle's driver package is often uploaded and maintained in the company's internal private server, when it is uploaded, it may not be clear which version it is, which makes us confused about the JDBC version. Here we will teach you how to quickly check the JDBC driver version supported by ojdbc.

The guide in the article also states:

We find the jar file in the local repository according to the coordinates of the jar package, and execute java -jar to clearly see the supported JDBC driver version.

I downloaded ojdbc11.jar and showed it to you again: it supports 4.3 as the official version says

Sometimes the execution may report the following error:

At this time, please note that the jdk version you installed locally, ojdbc11.jar is compiled based on jdk11, which means that the jdk version you installed locally must be at least jdk11