Skip to content

Commit

Permalink
Revert "Add docs for non-shaded JDBC driver JAR"
Browse files Browse the repository at this point in the history
This reverts commit e21e7d3.
  • Loading branch information
mosabua committed Sep 16, 2024
1 parent c02f165 commit d356f2c
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions docs/src/main/sphinx/client/jdbc.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ Versions before 350 are not supported.

Download {maven_download}`jdbc` and add it to the classpath of your Java application.

The driver is available from Maven Central as a fat JAR archive that contains
all classes. The archives includes the Trino JDBC driver classes, as well as any
necessary third-party classes from transitive dependencies as shaded classes.
This JAR archive is suitable for any usage without managing these transitive
dependencies.
The driver is also available from Maven Central:

```xml
<dependency>
Expand All @@ -36,19 +32,6 @@ dependencies.
</dependency>
```

Alternatively, use the non-shaded version in your application development as
dependency and pull in transitive dependencies with your build tool. This also
allows you to control the versions of these dependencies:

```xml
<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-jdbc</artifactId>
<version>|trino_version|</version>
<classifier>non-shaded</version>
</dependency>
```

We recommend using the latest version of the JDBC driver. A list of all
available versions can be found in the [Maven Central Repository](https://repo1.maven.org/maven2/io/trino/trino-jdbc/). Navigate to the
directory for the desired version, and select the `trino-jdbc-xxx.jar` file
Expand Down

0 comments on commit d356f2c

Please sign in to comment.