1. Introduction

I believe that students involved in project development, operation and maintenance using Oracle database are often tortured by Oracle JDBC driver Maven dependency. That changed in February, when Oracle finally learned the lesson.

An Oracle engineer blogged: Not only the latest version of the Oracle JDBC driver can now be found in Maven’s central repository, but also all previous Oracle JDBC driver distributions, including 19.6.0.0, 19.3.0.0, 18.3.0.0, 12.2.0.1, and 11.2.0.4. The Maven central repository officially becomes the distribution center for Oracle’s official JDBC drivers and associated JARS.

2. Oracle is consolidating its central repository components

In addition, Oracle wants to consolidate all Oracle database components in Maven’s central repository under com.oracle.database for unified management, specifying groupId according to specific domain. For example, the JDBC component is com.oracle.database. JDBC, and the XML component is com.oracle.database.xml. Oracle is doing some integration work, and Panzer has found these components in Maven’s central repository.

This means that you no longer need to install it yourself, and only need to introduce (in the case of OjDBC10) dependencies to integrate Oracle JDBC drivers:

< the dependency > < groupId > com. Oracle. Database. JDBC < / groupId > < artifactId > ojdbc10 < / artifactId > < version > 19.6.0.0 < / version > </dependency>Copy the code

GroupId = com.oracle; groupId = com.oracle; groupId = com.oracle; groupId = com.oracle;

In addition, the latest Spring Boot 2.3.1.RELEASE also began to add Oracle JDBC drivers to the dependency pool.

3. The analysis

With the popularity and development of cloud database, more and more customers choose cloud. Some new NewSQL databases are also on the map, such as Oceanbase of Alibaba, GaussDB of Huawei, and even TiDB of big “fire” in recent years. Domestic databases begin to vigorously build ecology. The database market is becoming fragmented and traditional vendors like Oracle are losing their dominance, so they have to change their minds or lose more market share. It’s finally time for developers to stop worrying about driver dependencies and focus on development. Pay more attention: code farmer xiao Pangge get more dry goods information.

Follow our public id: Felordcn for more information

Personal blog: https://felord.cn