Skip to content

Commit

Permalink
Downgrade Oracle JDBC driver to LTS 19.21.0.0
Browse files Browse the repository at this point in the history
19.x series have long-term support and bugfixes
which isn't the case for the 21.x being "innovative release"
  • Loading branch information
wendigo committed Nov 22, 2023
1 parent 6fd542d commit 573b4cd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
3 changes: 1 addition & 2 deletions client/trino-jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@

<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc11</artifactId>
<version>${dep.oracle.version}</version>
<artifactId>ojdbc10</artifactId>
<scope>test</scope>
</dependency>

Expand Down
7 changes: 2 additions & 5 deletions plugin/trino-oracle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,12 @@

<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc11</artifactId>
<version>${dep.oracle.version}</version>
<artifactId>ojdbc10</artifactId>
</dependency>

<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ucp11</artifactId>
<version>${dep.oracle.version}</version>
<artifactId>ucp</artifactId>
</dependency>

<dependency>
Expand Down Expand Up @@ -109,7 +107,6 @@
<dependency>
<groupId>com.oracle.database.nls</groupId>
<artifactId>orai18n</artifactId>
<version>${dep.oracle.version}</version>
<scope>runtime</scope>
</dependency>

Expand Down
3 changes: 1 addition & 2 deletions plugin/trino-resource-group-managers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@

<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc11</artifactId>
<version>${dep.oracle.version}</version>
<artifactId>ojdbc10</artifactId>
<scope>runtime</scope>
</dependency>

Expand Down
9 changes: 8 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@
<dep.kafka-clients.version>3.6.0</dep.kafka-clients.version>
<dep.kotlin.version>1.9.20</dep.kotlin.version>
<dep.okio.version>3.6.0</dep.okio.version>
<dep.oracle.version>21.11.0.0</dep.oracle.version>
<dep.packaging.version>${dep.airlift.version}</dep.packaging.version>
<dep.parquet.version>1.13.1</dep.parquet.version>
<dep.protobuf.version>3.25.1</dep.protobuf.version>
Expand Down Expand Up @@ -223,6 +222,14 @@
<scope>import</scope>
</dependency>

<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc10-production</artifactId>
<version>19.21.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp-bom</artifactId>
Expand Down

0 comments on commit 573b4cd

Please sign in to comment.