From 4e36b786fe35dadccc29b96e4d216b77ec4b65ca Mon Sep 17 00:00:00 2001 From: Amogh Shetkar Date: Wed, 2 Oct 2024 09:19:08 +0530 Subject: [PATCH] JDBC Driver version update to 42.3.5-yb-8 (#24241) --- .../preview/drivers-orms/include-drivers-orms-list.md | 2 +- docs/content/preview/drivers-orms/java/_index.md | 2 +- docs/content/preview/drivers-orms/java/ebean.md | 2 +- .../preview/drivers-orms/java/yugabyte-jdbc-reference.md | 4 ++-- docs/content/preview/drivers-orms/java/yugabyte-jdbc.md | 6 +++--- docs/content/preview/drivers-orms/orms/java/ysql-ebean.md | 2 +- docs/content/preview/integrations/apache-spark/java-ysql.md | 2 +- .../preview/integrations/apache-spark/python-ysql.md | 2 +- .../content/preview/integrations/apache-spark/scala-ysql.md | 2 +- docs/content/preview/integrations/apache-spark/spark-sql.md | 2 +- docs/content/preview/integrations/camunda.md | 2 +- docs/content/preview/integrations/flyway.md | 2 +- .../content/preview/integrations/spring-framework/sd-jpa.md | 2 +- docs/content/preview/integrations/spring-framework/sdyb.md | 2 +- docs/content/preview/quick-start/docker.md | 2 +- docs/content/preview/quick-start/kubernetes.md | 2 +- .../build-and-learn/chapter3-tolerating-outages.md | 2 +- .../stable/drivers-orms/include-drivers-orms-list.md | 2 +- docs/content/stable/drivers-orms/java/_index.md | 2 +- docs/content/stable/drivers-orms/java/ebean.md | 2 +- .../stable/drivers-orms/java/yugabyte-jdbc-reference.md | 4 ++-- docs/content/stable/drivers-orms/java/yugabyte-jdbc.md | 6 +++--- docs/content/stable/drivers-orms/orms/java/ysql-ebean.md | 2 +- docs/content/v2.18/drivers-orms/java/_index.md | 2 +- .../content/v2.20/drivers-orms/include-drivers-orms-list.md | 2 +- docs/content/v2.20/drivers-orms/java/_index.md | 2 +- docs/content/v2.20/drivers-orms/java/yugabyte-jdbc.md | 6 +++--- 27 files changed, 35 insertions(+), 35 deletions(-) diff --git a/docs/content/preview/drivers-orms/include-drivers-orms-list.md b/docs/content/preview/drivers-orms/include-drivers-orms-list.md index 430c30208097..06318185e61c 100644 --- a/docs/content/preview/drivers-orms/include-drivers-orms-list.md +++ b/docs/content/preview/drivers-orms/include-drivers-orms-list.md @@ -11,7 +11,7 @@ private = true | | Version | Support Level | Example apps | | :--------- | :------ | :------------ | :----------- | | **Drivers** | | | | -| YugabyteDB JDBC Smart Driver
[Recommended] | [42.3.5-yb-7](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-7) | Full | [CRUD](/preview/drivers-orms/java/yugabyte-jdbc/) | +| YugabyteDB JDBC Smart Driver
[Recommended] | [42.3.5-yb-8](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-8) | Full | [CRUD](/preview/drivers-orms/java/yugabyte-jdbc/) | | YugabyteDB R2DBC Smart Driver | [1.1.0-yb-1-ea](https://mvnrepository.com/artifact/com.yugabyte/r2dbc-postgresql) | Full | [CRUD](/preview/drivers-orms/java/yb-r2dbc/) | | PostgreSQL JDBC Driver | [42.3.4](https://mvnrepository.com/artifact/org.postgresql/postgresql/42.3.4) | Full | [CRUD](/preview/drivers-orms/java/postgres-jdbc/) | | Vert.x Pg Client | [4.3.2](https://mvnrepository.com/artifact/io.vertx/vertx-core/4.3.2) | Full | [CRUD](/preview/drivers-orms/java/ysql-vertx-pg-client/) | diff --git a/docs/content/preview/drivers-orms/java/_index.md b/docs/content/preview/drivers-orms/java/_index.md index 8d0413b7d5fb..3477d0cfd309 100644 --- a/docs/content/preview/drivers-orms/java/_index.md +++ b/docs/content/preview/drivers-orms/java/_index.md @@ -21,7 +21,7 @@ The following projects can be used to implement Java applications using the Yuga | Driver | Documentation and Guides | Latest Driver Version | Supported YugabyteDB Version | | ------- | ------------------------ | ------------------------ | ---------------------| -| YugabyteDB JDBC Driver [Recommended] | [Documentation](yugabyte-jdbc/)
[Reference](yugabyte-jdbc-reference/)
[Blog](https://dev.to/yugabyte/yugabytedb-jdbc-smart-driver-for-proxyless-halb-2k8a/) | [42.3.5-yb-7](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-7) | 2.8 and above | +| YugabyteDB JDBC Driver [Recommended] | [Documentation](yugabyte-jdbc/)
[Reference](yugabyte-jdbc-reference/)
[Blog](https://dev.to/yugabyte/yugabytedb-jdbc-smart-driver-for-proxyless-halb-2k8a/) | [42.3.5-yb-8](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-8) | 2.8 and above | | YugabyteDB R2DBC Driver | [Documentation](yb-r2dbc/) | [1.1.0-yb-1-ea](https://mvnrepository.com/artifact/com.yugabyte/r2dbc-postgresql) | 2.18 and above | | PostgreSQL JDBC Driver | [Documentation](postgres-jdbc/)
[Reference](postgres-jdbc-reference/) | [42.3.4](https://mvnrepository.com/artifact/org.postgresql/postgresql/42.3.4) | 2.4 and above | | Vert.x Pg Client | [Documentation](ysql-vertx-pg-client/) | [4.3.2](https://mvnrepository.com/artifact/io.vertx/vertx-core/4.3.2) | | diff --git a/docs/content/preview/drivers-orms/java/ebean.md b/docs/content/preview/drivers-orms/java/ebean.md index a8ee30e1dadf..390a411d14fe 100644 --- a/docs/content/preview/drivers-orms/java/ebean.md +++ b/docs/content/preview/drivers-orms/java/ebean.md @@ -110,7 +110,7 @@ To begin using Ebean in the application, do the following: 1. Add the following dependency for the YugabyteDB JDBC driver to the `build.sbt` file. ```sbt - libraryDependencies += "com.yugabyte" % "jdbc-yugabytedb" % "42.3.5-yb-7" + libraryDependencies += "com.yugabyte" % "jdbc-yugabytedb" % "42.3.5-yb-8" ``` 1. Enable the PlayEbean plugin in the `build.sbt` file by adding `PlayEbean` as follows: diff --git a/docs/content/preview/drivers-orms/java/yugabyte-jdbc-reference.md b/docs/content/preview/drivers-orms/java/yugabyte-jdbc-reference.md index c8e88e8cae3d..5eb50b4e72a4 100644 --- a/docs/content/preview/drivers-orms/java/yugabyte-jdbc-reference.md +++ b/docs/content/preview/drivers-orms/java/yugabyte-jdbc-reference.md @@ -56,7 +56,7 @@ To get the driver and HikariPool from Maven, add the following dependencies to t com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 @@ -73,7 +73,7 @@ To get the driver and HikariPool, add the following dependencies to the Gradle p ```java // https://mvnrepository.com/artifact/org.postgresql/postgresql -implementation 'com.yugabyte:jdbc-yugabytedb:42.3.5-yb-7' +implementation 'com.yugabyte:jdbc-yugabytedb:42.3.5-yb-8' implementation 'com.zaxxer:HikariCP:4.0.3' ``` diff --git a/docs/content/preview/drivers-orms/java/yugabyte-jdbc.md b/docs/content/preview/drivers-orms/java/yugabyte-jdbc.md index b8525c6bf6e2..67b16ec007ed 100644 --- a/docs/content/preview/drivers-orms/java/yugabyte-jdbc.md +++ b/docs/content/preview/drivers-orms/java/yugabyte-jdbc.md @@ -88,7 +88,7 @@ If you are using [Maven](https://maven.apache.org/guides/development/guide-build com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 @@ -106,7 +106,7 @@ Install the added dependency using `mvn install`. If you are using [Gradle](https://docs.gradle.org/current/samples/sample_building_java_applications.html), add the following dependencies to your `build.gradle` file: ```java -implementation 'com.yugabyte:jdbc-yugabytedb:42.3.5-yb-7' +implementation 'com.yugabyte:jdbc-yugabytedb:42.3.5-yb-8' implementation 'com.zaxxer:HikariCP:4.0.3' ``` @@ -133,7 +133,7 @@ The following table describes the connection parameters required to connect, inc | `fallback-to-topology-keys-only` | If `topology-keys` are specified, the driver only tries to connect to nodes specified in `topology-keys` | Empty | | `failed-host-reconnect-delay-secs` | When the driver is unable to connect to a node, it marks the node as failed using a timestamp. When refreshing the server list via yb_servers(), if the driver sees a failed node in the response, it marks the server as UP only if the time specified via this property has elapsed from the time it was last marked as failed. | 5 | -In v42.3.5-yb-7 and later, the `load-balance` property supports the following additional properties: any (alias for 'true'), only-primary, only-rr, prefer-primary, and prefer-rr. See [Read replica-aware load balancing](../../smart-drivers/#read-replica-cluster-aware). +In v42.3.5-yb-8 and later, the `load-balance` property supports the following additional properties: any (alias for 'true'), only-primary, only-rr, prefer-primary, and prefer-rr. See [Read replica-aware load balancing](../../smart-drivers/#read-replica-cluster-aware). The following is an example JDBC URL for connecting to YugabyteDB: diff --git a/docs/content/preview/drivers-orms/orms/java/ysql-ebean.md b/docs/content/preview/drivers-orms/orms/java/ysql-ebean.md index 2bad348d0fa1..9a91bd5dffba 100644 --- a/docs/content/preview/drivers-orms/orms/java/ysql-ebean.md +++ b/docs/content/preview/drivers-orms/orms/java/ysql-ebean.md @@ -71,7 +71,7 @@ $ git clone https://github.com/YugabyteDB-Samples/orm-examples.git && cd orm-exa - Add a dependency in `build.sbt` for the YugabyteDB JDBC driver. ```sh - libraryDependencies += "com.yugabyte" % "jdbc-yugabytedb" % "42.3.5-yb-7" + libraryDependencies += "com.yugabyte" % "jdbc-yugabytedb" % "42.3.5-yb-8" ``` - From your local YugabyteDB installation directory, connect to the [YSQL](../../../../admin/ysqlsh/) shell using: diff --git a/docs/content/preview/integrations/apache-spark/java-ysql.md b/docs/content/preview/integrations/apache-spark/java-ysql.md index 4850eee5f761..98a10a338cff 100644 --- a/docs/content/preview/integrations/apache-spark/java-ysql.md +++ b/docs/content/preview/integrations/apache-spark/java-ysql.md @@ -101,7 +101,7 @@ Create the database and table you will read and write to as follows: com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 ``` diff --git a/docs/content/preview/integrations/apache-spark/python-ysql.md b/docs/content/preview/integrations/apache-spark/python-ysql.md index 942fc29f8c37..1621428956e8 100644 --- a/docs/content/preview/integrations/apache-spark/python-ysql.md +++ b/docs/content/preview/integrations/apache-spark/python-ysql.md @@ -57,7 +57,7 @@ This tutorial assumes that you have: From your spark installation directory, use the following command to start `pyspark` shell, and pass the YugabyteDB driver package with the `--packages` parameter. The command fetches the YugabyteDB driver from local cache (if present), or installs the driver from [maven central](https://search.maven.org/). ```sh -./bin/pyspark --packages com.yugabyte:jdbc-yugabytedb:42.3.5-yb-7 +./bin/pyspark --packages com.yugabyte:jdbc-yugabytedb:42.3.5-yb-8 ``` The Spark session should be available as follows: diff --git a/docs/content/preview/integrations/apache-spark/scala-ysql.md b/docs/content/preview/integrations/apache-spark/scala-ysql.md index ec4a167268c0..ec22dcbc783b 100644 --- a/docs/content/preview/integrations/apache-spark/scala-ysql.md +++ b/docs/content/preview/integrations/apache-spark/scala-ysql.md @@ -57,7 +57,7 @@ This tutorial assumes that you have: From your Spark installation directory, use the following command to start `spark-shell`, and pass the YugabyteDB driver package with the `--packages` parameter. The command fetches the YugabyteDB driver from local cache (if present), or installs the driver from [maven central](https://search.maven.org/). ```sh -./bin/spark-shell --packages com.yugabyte:jdbc-yugabytedb:42.3.5-yb-7 +./bin/spark-shell --packages com.yugabyte:jdbc-yugabytedb:42.3.5-yb-8 ``` The Scala prompt should be available as follows: diff --git a/docs/content/preview/integrations/apache-spark/spark-sql.md b/docs/content/preview/integrations/apache-spark/spark-sql.md index fc16aa1d9c8a..2000dda86690 100644 --- a/docs/content/preview/integrations/apache-spark/spark-sql.md +++ b/docs/content/preview/integrations/apache-spark/spark-sql.md @@ -58,7 +58,7 @@ This tutorial assumes that you have: From your Spark installation directory, use the following command to start `spark-sql`, and pass the YugabyteDB driver package with the `--packages` parameter. The command fetches the YugabyteDB driver from local cache (if present), or installs the driver from [maven central](https://search.maven.org/). ```sh -./bin/spark-sql --packages com.yugabyte:jdbc-yugabytedb:42.3.5-yb-7 +./bin/spark-sql --packages com.yugabyte:jdbc-yugabytedb:42.3.5-yb-8 ``` The Spark prompt should be available as `spark-sql>`. diff --git a/docs/content/preview/integrations/camunda.md b/docs/content/preview/integrations/camunda.md index 40b44f33dd0f..a985d2aca759 100644 --- a/docs/content/preview/integrations/camunda.md +++ b/docs/content/preview/integrations/camunda.md @@ -56,7 +56,7 @@ This tutorial assumes that: password: yugabyte ``` - Then, download the YugabyteDB JDBC driver [JAR file](https://repo1.maven.org/maven2/com/yugabyte/jdbc-yugabytedb/42.3.5-yb-7/jdbc-yugabytedb-42.3.5-yb-7.jar) and place it in the `camunda-bpm-run-7.17.0/configuration/userlib` directory. Read more about the [YugabyteDB JDBC driver](../../drivers-orms/java/yugabyte-jdbc-reference/). + Then, download the YugabyteDB JDBC driver [JAR file](https://repo1.maven.org/maven2/com/yugabyte/jdbc-yugabytedb/42.3.5-yb-8/jdbc-yugabytedb-42.3.5-yb-8.jar) and place it in the `camunda-bpm-run-7.17.0/configuration/userlib` directory. Read more about the [YugabyteDB JDBC driver](../../drivers-orms/java/yugabyte-jdbc-reference/). 1. Start the Camunda Platform server using `./start.sh` on Linux or macOS, or `./start.bat` on Windows. diff --git a/docs/content/preview/integrations/flyway.md b/docs/content/preview/integrations/flyway.md index 6e5d957f2ce8..dfd6199d956d 100644 --- a/docs/content/preview/integrations/flyway.md +++ b/docs/content/preview/integrations/flyway.md @@ -44,7 +44,7 @@ To use Flyway with YugabyteDB, you need the following: com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 ``` diff --git a/docs/content/preview/integrations/spring-framework/sd-jpa.md b/docs/content/preview/integrations/spring-framework/sd-jpa.md index 33e947f71193..93ba1159a8e0 100644 --- a/docs/content/preview/integrations/spring-framework/sd-jpa.md +++ b/docs/content/preview/integrations/spring-framework/sd-jpa.md @@ -39,7 +39,7 @@ Add the following dependencies for Spring Data JPA with [YugabyteDB JDBC Driver] com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 ``` diff --git a/docs/content/preview/integrations/spring-framework/sdyb.md b/docs/content/preview/integrations/spring-framework/sdyb.md index f92ea32d276b..2321d0a48719 100644 --- a/docs/content/preview/integrations/spring-framework/sdyb.md +++ b/docs/content/preview/integrations/spring-framework/sdyb.md @@ -48,7 +48,7 @@ The project definition includes the following dependencies: com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 ``` diff --git a/docs/content/preview/quick-start/docker.md b/docs/content/preview/quick-start/docker.md index ac6ef0676571..f1acdb5265f9 100644 --- a/docs/content/preview/quick-start/docker.md +++ b/docs/content/preview/quick-start/docker.md @@ -232,7 +232,7 @@ Perform the following to create a sample Java project: com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 diff --git a/docs/content/preview/quick-start/kubernetes.md b/docs/content/preview/quick-start/kubernetes.md index 863ab18183dc..d01ede93abff 100644 --- a/docs/content/preview/quick-start/kubernetes.md +++ b/docs/content/preview/quick-start/kubernetes.md @@ -300,7 +300,7 @@ Perform the following to create a sample Java project: com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 diff --git a/docs/content/preview/tutorials/build-and-learn/chapter3-tolerating-outages.md b/docs/content/preview/tutorials/build-and-learn/chapter3-tolerating-outages.md index d76f28e924e8..b23eb52601e2 100644 --- a/docs/content/preview/tutorials/build-and-learn/chapter3-tolerating-outages.md +++ b/docs/content/preview/tutorials/build-and-learn/chapter3-tolerating-outages.md @@ -245,7 +245,7 @@ The YugaPlus movies recommendation service, written in Java, already includes th com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 ``` diff --git a/docs/content/stable/drivers-orms/include-drivers-orms-list.md b/docs/content/stable/drivers-orms/include-drivers-orms-list.md index 11ee44cd9550..fd430c2ac66b 100644 --- a/docs/content/stable/drivers-orms/include-drivers-orms-list.md +++ b/docs/content/stable/drivers-orms/include-drivers-orms-list.md @@ -11,7 +11,7 @@ private = true | | Version | Support Level | Example apps | | :--------- | :------ | :------------ | :----------- | | **Drivers** | | | | -| YugabyteDB JDBC Smart Driver
[Recommended] | [42.3.5-yb-7](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-7) | Full | [CRUD](/preview/drivers-orms/java/yugabyte-jdbc/) | +| YugabyteDB JDBC Smart Driver
[Recommended] | [42.3.5-yb-8](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-8) | Full | [CRUD](/preview/drivers-orms/java/yugabyte-jdbc/) | | YugabyteDB R2DBC Smart Driver | [1.1.0-yb-1-ea](https://mvnrepository.com/artifact/com.yugabyte/r2dbc-postgresql) | Full | [CRUD](/preview/drivers-orms/java/yb-r2dbc/) | | PostgreSQL JDBC Driver | [42.3.4](https://mvnrepository.com/artifact/org.postgresql/postgresql/42.3.4) | Full | [CRUD](/preview/drivers-orms/java/postgres-jdbc/) | | Vert.x Pg Client | [4.3.2](https://mvnrepository.com/artifact/io.vertx/vertx-core/4.3.2) | Full | [CRUD](/preview/drivers-orms/java/ysql-vertx-pg-client/) | diff --git a/docs/content/stable/drivers-orms/java/_index.md b/docs/content/stable/drivers-orms/java/_index.md index fb78d0ddd88f..4023f52c3c3d 100644 --- a/docs/content/stable/drivers-orms/java/_index.md +++ b/docs/content/stable/drivers-orms/java/_index.md @@ -19,7 +19,7 @@ The following projects can be used to implement Java applications using the Yuga | Driver | Documentation and Guides | Latest Driver Version | Supported YugabyteDB Version | | ------- | ------------------------ | ------------------------ | ---------------------| -| YugabyteDB JDBC Driver [Recommended] | [Documentation](yugabyte-jdbc/)
[Reference](yugabyte-jdbc-reference/)
[Blog](https://dev.to/yugabyte/yugabytedb-jdbc-smart-driver-for-proxyless-halb-2k8a/) | [42.3.5-yb-7](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-7) | 2.8 and above | +| YugabyteDB JDBC Driver [Recommended] | [Documentation](yugabyte-jdbc/)
[Reference](yugabyte-jdbc-reference/)
[Blog](https://dev.to/yugabyte/yugabytedb-jdbc-smart-driver-for-proxyless-halb-2k8a/) | [42.3.5-yb-8](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-8) | 2.8 and above | | YugabyteDB R2DBC Driver | [Documentation](yb-r2dbc/) | [1.1.0-yb-1-ea](https://mvnrepository.com/artifact/com.yugabyte/r2dbc-postgresql) | 2.18 and above | | PostgreSQL JDBC Driver | [Documentation](postgres-jdbc/)
[Reference](postgres-jdbc-reference/) | [42.3.4](https://mvnrepository.com/artifact/org.postgresql/postgresql/42.3.4) | 2.4 and above | | Vert.x Pg Client | [Documentation](ysql-vertx-pg-client/) | [4.3.2](https://mvnrepository.com/artifact/io.vertx/vertx-core/4.3.2) | | diff --git a/docs/content/stable/drivers-orms/java/ebean.md b/docs/content/stable/drivers-orms/java/ebean.md index 61e52b06ec67..446265efb436 100644 --- a/docs/content/stable/drivers-orms/java/ebean.md +++ b/docs/content/stable/drivers-orms/java/ebean.md @@ -110,7 +110,7 @@ To begin using Ebean in the application, do the following: 1. Add the following dependency for the YugabyteDB JDBC driver to the `build.sbt` file. ```sbt - libraryDependencies += "com.yugabyte" % "jdbc-yugabytedb" % "42.3.5-yb-7" + libraryDependencies += "com.yugabyte" % "jdbc-yugabytedb" % "42.3.5-yb-8" ``` 1. Enable the PlayEbean plugin in the `build.sbt` file by adding `PlayEbean` as follows: diff --git a/docs/content/stable/drivers-orms/java/yugabyte-jdbc-reference.md b/docs/content/stable/drivers-orms/java/yugabyte-jdbc-reference.md index 733cd19f7364..eb6b57f6fcf2 100644 --- a/docs/content/stable/drivers-orms/java/yugabyte-jdbc-reference.md +++ b/docs/content/stable/drivers-orms/java/yugabyte-jdbc-reference.md @@ -54,7 +54,7 @@ To get the driver and HikariPool from Maven, add the following dependencies to t com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 @@ -71,7 +71,7 @@ To get the driver and HikariPool, add the following dependencies to the Gradle p ```java // https://mvnrepository.com/artifact/org.postgresql/postgresql -implementation 'com.yugabyte:jdbc-yugabytedb:42.3.5-yb-7' +implementation 'com.yugabyte:jdbc-yugabytedb:42.3.5-yb-8' implementation 'com.zaxxer:HikariCP:4.0.3' ``` diff --git a/docs/content/stable/drivers-orms/java/yugabyte-jdbc.md b/docs/content/stable/drivers-orms/java/yugabyte-jdbc.md index 3062d227026b..b0ac99fcf2c9 100644 --- a/docs/content/stable/drivers-orms/java/yugabyte-jdbc.md +++ b/docs/content/stable/drivers-orms/java/yugabyte-jdbc.md @@ -81,7 +81,7 @@ If you are using [Maven](https://maven.apache.org/guides/development/guide-build com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 @@ -99,7 +99,7 @@ Install the added dependency using `mvn install`. If you are using [Gradle](https://docs.gradle.org/current/samples/sample_building_java_applications.html), add the following dependencies to your `build.gradle` file: ```java -implementation 'com.yugabyte:jdbc-yugabytedb:42.3.5-yb-7' +implementation 'com.yugabyte:jdbc-yugabytedb:42.3.5-yb-8' implementation 'com.zaxxer:HikariCP:4.0.3' ``` @@ -126,7 +126,7 @@ The following table describes the connection parameters required to connect, inc | `fallback-to-topology-keys-only` | If `topology-keys` are specified, the driver only tries to connect to nodes specified in `topology-keys` | Empty | | `failed-host-reconnect-delay-secs` | When the driver is unable to connect to a node, it marks the node as failed using a timestamp. When refreshing the server list via yb_servers(), if the driver sees a failed node in the response, it marks the server as UP only if the time specified via this property has elapsed from the time it was last marked as failed. | 5 | -Starting with version 42.3.5-yb-7, 5 new values are allowed for the property `load-balance` to support read replica nodes: 'any' (alias for 'true'), 'only-primary', 'only-rr', 'prefer-primary' and 'prefer-rr'. See the [smart driver page](../smart-drivers.md#read-replica-cluster-aware) for usage of these values. +Starting with version 42.3.5-yb-8, 5 new values are allowed for the property `load-balance` to support read replica nodes: 'any' (alias for 'true'), 'only-primary', 'only-rr', 'prefer-primary' and 'prefer-rr'. See the [smart driver page](../smart-drivers.md#read-replica-cluster-aware) for usage of these values. The following is an example JDBC URL for connecting to YugabyteDB: diff --git a/docs/content/stable/drivers-orms/orms/java/ysql-ebean.md b/docs/content/stable/drivers-orms/orms/java/ysql-ebean.md index b0d6dc54e5cf..d89df6175422 100644 --- a/docs/content/stable/drivers-orms/orms/java/ysql-ebean.md +++ b/docs/content/stable/drivers-orms/orms/java/ysql-ebean.md @@ -71,7 +71,7 @@ $ git clone https://github.com/YugabyteDB-Samples/orm-examples.git && cd orm-exa - Add a dependency in `build.sbt` for the YugabyteDB JDBC driver. ```sh - libraryDependencies += "com.yugabyte" % "jdbc-yugabytedb" % "42.3.5-yb-7" + libraryDependencies += "com.yugabyte" % "jdbc-yugabytedb" % "42.3.5-yb-8" ``` - From your local YugabyteDB installation directory, connect to the [YSQL](../../../../admin/ysqlsh/) shell using: diff --git a/docs/content/v2.18/drivers-orms/java/_index.md b/docs/content/v2.18/drivers-orms/java/_index.md index 41dd62e2246e..b8c031454c5c 100644 --- a/docs/content/v2.18/drivers-orms/java/_index.md +++ b/docs/content/v2.18/drivers-orms/java/_index.md @@ -19,7 +19,7 @@ The following projects can be used to implement Java applications using the Yuga | Driver | Documentation and Guides | Latest Driver Version | Supported YugabyteDB Version | | ------- | ------------------------ | ------------------------ | ---------------------| -| YugabyteDB JDBC Driver [Recommended] | [Documentation](yugabyte-jdbc/)
[Blog](https://dev.to/yugabyte/yugabytedb-jdbc-smart-driver-for-proxyless-halb-2k8a/)
[Reference](../../reference/drivers/java/yugabyte-jdbc-reference/) | [42.3.5-yb-7](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-7) | 2.8 and above +| YugabyteDB JDBC Driver [Recommended] | [Documentation](yugabyte-jdbc/)
[Blog](https://dev.to/yugabyte/yugabytedb-jdbc-smart-driver-for-proxyless-halb-2k8a/)
[Reference](../../reference/drivers/java/yugabyte-jdbc-reference/) | [42.3.5-yb-8](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-8) | 2.8 and above | PostgreSQL JDBC Driver | [Documentation](postgres-jdbc/)
[Reference](../../reference/drivers/java/postgres-jdbc-reference/) | [42.3.4](https://mvnrepository.com/artifact/org.postgresql/postgresql/42.3.4) | 2.4 and above | Vert.x Pg Client | [Documentation](ysql-vertx-pg-client/) | [4.3.2](https://mvnrepository.com/artifact/io.vertx/vertx-core/4.3.2) | | YugabyteDB YCQL (3.10) Driver | [Documentation](ycql)
[Reference](../../reference/drivers/ycql-client-drivers/#yugabyte-java-driver-for-ycql-3-10) | [3.10.3-yb-2](https://mvnrepository.com/artifact/com.yugabyte/cassandra-driver-core/3.10.3-yb-2) | | diff --git a/docs/content/v2.20/drivers-orms/include-drivers-orms-list.md b/docs/content/v2.20/drivers-orms/include-drivers-orms-list.md index 4a3cb4cffee1..1331e1212c2e 100644 --- a/docs/content/v2.20/drivers-orms/include-drivers-orms-list.md +++ b/docs/content/v2.20/drivers-orms/include-drivers-orms-list.md @@ -11,7 +11,7 @@ private = true | | Version | Support Level | Example apps | | :--------- | :------ | :------------ | :----------- | | **Drivers** | | | | -| YugabyteDB JDBC Smart Driver
[Recommended] | [42.3.5-yb-7](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-7) | Full | [CRUD](/preview/drivers-orms/java/yugabyte-jdbc/) | +| YugabyteDB JDBC Smart Driver
[Recommended] | [42.3.5-yb-8](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-8) | Full | [CRUD](/preview/drivers-orms/java/yugabyte-jdbc/) | | PostgreSQL JDBC Driver | [42.3.4](https://mvnrepository.com/artifact/org.postgresql/postgresql/42.3.4) | Full | [CRUD](/preview/drivers-orms/java/postgres-jdbc/) | | Vert.x Pg Client | [4.3.2](https://mvnrepository.com/artifact/io.vertx/vertx-core/4.3.2) | Full | [CRUD](/preview/drivers-orms/java/ysql-vertx-pg-client/) | | YugabyteDB Java Driver for YCQL | [3.10.3-yb-2](https://mvnrepository.com/artifact/com.yugabyte/cassandra-driver-core/3.10.3-yb-2) | Full | [CRUD](/preview/drivers-orms/java/ycql) | diff --git a/docs/content/v2.20/drivers-orms/java/_index.md b/docs/content/v2.20/drivers-orms/java/_index.md index 895ec0a26ccf..b57c07f3d0ac 100644 --- a/docs/content/v2.20/drivers-orms/java/_index.md +++ b/docs/content/v2.20/drivers-orms/java/_index.md @@ -19,7 +19,7 @@ The following projects can be used to implement Java applications using the Yuga | Driver | Documentation and Guides | Latest Driver Version | Supported YugabyteDB Version | | ------- | ------------------------ | ------------------------ | ---------------------| -| YugabyteDB JDBC Driver [Recommended] | [Documentation](yugabyte-jdbc/)
[Blog](https://dev.to/yugabyte/yugabytedb-jdbc-smart-driver-for-proxyless-halb-2k8a/)
[Reference](../../reference/drivers/java/yugabyte-jdbc-reference/) | [42.3.5-yb-7](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-7) | 2.8 and above +| YugabyteDB JDBC Driver [Recommended] | [Documentation](yugabyte-jdbc/)
[Blog](https://dev.to/yugabyte/yugabytedb-jdbc-smart-driver-for-proxyless-halb-2k8a/)
[Reference](../../reference/drivers/java/yugabyte-jdbc-reference/) | [42.3.5-yb-8](https://mvnrepository.com/artifact/com.yugabyte/jdbc-yugabytedb/42.3.5-yb-8) | 2.8 and above | PostgreSQL JDBC Driver | [Documentation](postgres-jdbc/)
[Reference](../../reference/drivers/java/postgres-jdbc-reference/) | [42.3.4](https://mvnrepository.com/artifact/org.postgresql/postgresql/42.3.4) | 2.4 and above | Vert.x Pg Client | [Documentation](ysql-vertx-pg-client/) | [4.3.2](https://mvnrepository.com/artifact/io.vertx/vertx-core/4.3.2) | | YugabyteDB YCQL (3.10) Driver | [Documentation](ycql)
[Reference](../../reference/drivers/ycql-client-drivers/#java) | [3.10.3-yb-2](https://mvnrepository.com/artifact/com.yugabyte/cassandra-driver-core/3.10.3-yb-2) | | diff --git a/docs/content/v2.20/drivers-orms/java/yugabyte-jdbc.md b/docs/content/v2.20/drivers-orms/java/yugabyte-jdbc.md index f51a5b9b3f5e..c3a28bde5b12 100644 --- a/docs/content/v2.20/drivers-orms/java/yugabyte-jdbc.md +++ b/docs/content/v2.20/drivers-orms/java/yugabyte-jdbc.md @@ -74,7 +74,7 @@ If you are using [Maven](https://maven.apache.org/guides/development/guide-build com.yugabyte jdbc-yugabytedb - 42.3.5-yb-7 + 42.3.5-yb-8 @@ -92,7 +92,7 @@ Install the added dependency using `mvn install`. If you are using [Gradle](https://docs.gradle.org/current/samples/sample_building_java_applications.html), add the following dependencies to your `build.gradle` file: ```java -implementation 'com.yugabyte:jdbc-yugabytedb:42.3.5-yb-7' +implementation 'com.yugabyte:jdbc-yugabytedb:42.3.5-yb-8' implementation 'com.zaxxer:HikariCP:4.0.3' ``` @@ -119,7 +119,7 @@ The following table describes the connection parameters required to connect, inc | `fallback-to-topology-keys-only` | If `topology-keys` are specified, the driver only tries to connect to nodes specified in `topology-keys` | Empty | | `failed-host-reconnect-delay-secs` | When the driver is unable to connect to a node, it marks the node as failed using a timestamp. When refreshing the server list via yb_servers(), if the driver sees a failed node in the response, it marks the server as UP only if the time specified via this property has elapsed from the time it was last marked as failed. | 5 | -In v42.3.5-yb-7 and later, the `load-balance` property supports the following additional properties: any (alias for 'true'), only-primary, only-rr, prefer-primary, and prefer-rr. See [Read replica-aware load balancing](../../smart-drivers/#read-replica-cluster-aware). +In v42.3.5-yb-8 and later, the `load-balance` property supports the following additional properties: any (alias for 'true'), only-primary, only-rr, prefer-primary, and prefer-rr. See [Read replica-aware load balancing](../../smart-drivers/#read-replica-cluster-aware). The following is an example JDBC URL for connecting to YugabyteDB: