Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Select your build tool, and follow the instructions to add the build dependency

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb:3.14.1'
implementation 'com.scalar-labs:scalardb:3.14.3'
}
```
</TabItem>
Expand All @@ -248,7 +248,7 @@ Select your build tool, and follow the instructions to add the build dependency
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb</artifactId>
<version>3.14.1</version>
<version>3.14.3</version>
</dependency>
```
</TabItem>
Expand All @@ -269,4 +269,4 @@ The following limitations apply to non-transactional storage operations:

### Learn more

- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb/3.14.1/index.html)
- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb/3.14.3/index.html)
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To add a dependency on the ScalarDB Cluster Java Client SDK by using Gradle, use

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.1'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.3'
}
```

Expand All @@ -28,7 +28,7 @@ To add a dependency by using Maven, use the following:
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.14.1</version>
<version>3.14.3</version>
</dependency>
```

Expand Down Expand Up @@ -121,11 +121,11 @@ scalar.db.contact_points=direct-kubernetes:ns/scalardb-cluster

To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster).
Using the Schema Loader for Cluster is basically the same as using the [ScalarDB Schema Loader](../schema-loader.mdx) except the name of the JAR file is different.
You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.1).
You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.3).
After downloading the JAR file, you can run Schema Loader for Cluster with the following command:

```console
java -jar scalardb-cluster-schema-loader-3.14.1-all.jar --config <PATH_TO_CONFIG_FILE> -f <PATH_TO_SCHEMA_FILE> --coordinator
java -jar scalardb-cluster-schema-loader-3.14.3-all.jar --config <PATH_TO_CONFIG_FILE> -f <PATH_TO_SCHEMA_FILE> --coordinator
```

## ScalarDB Cluster SQL
Expand Down Expand Up @@ -165,8 +165,8 @@ To add the dependencies on the ScalarDB Cluster JDBC driver by using Gradle, use

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-sql-jdbc:3.14.1'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.1'
implementation 'com.scalar-labs:scalardb-sql-jdbc:3.14.3'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.3'
}
```

Expand All @@ -177,12 +177,12 @@ To add the dependencies by using Maven, use the following:
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-sql-jdbc</artifactId>
<version>3.14.1</version>
<version>3.14.3</version>
</dependency>
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.14.1</version>
<version>3.14.3</version>
</dependency>
</dependencies>
```
Expand All @@ -200,8 +200,8 @@ To add the dependencies by using Gradle, use the following:

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-sql-spring-data:3.14.1'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.1'
implementation 'com.scalar-labs:scalardb-sql-spring-data:3.14.3'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.3'
}
```

Expand All @@ -212,12 +212,12 @@ To add the dependencies by using Maven, use the following:
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-sql-spring-data</artifactId>
<version>3.14.1</version>
<version>3.14.3</version>
</dependency>
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.14.1</version>
<version>3.14.3</version>
</dependency>
</dependencies>
```
Expand Down Expand Up @@ -262,18 +262,18 @@ For details about how to configure Spring Data JDBC for ScalarDB, see [Configura

Like other SQL databases, ScalarDB SQL also provides a CLI tool where you can issue SQL statements interactively in a command-line shell.

You can download the SQL CLI for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.1). After downloading the JAR file, you can run the SQL CLI with the following command:
You can download the SQL CLI for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.3). After downloading the JAR file, you can run the SQL CLI with the following command:

```console
java -jar scalardb-cluster-sql-cli-3.14.1-all.jar --config <PATH_TO_CONFIG_FILE>
java -jar scalardb-cluster-sql-cli-3.14.3-all.jar --config <PATH_TO_CONFIG_FILE>
```

#### Usage

You can see the CLI usage with the `-h` option as follows:

```console
java -jar scalardb-cluster-sql-cli-3.14.1-all.jar -h
java -jar scalardb-cluster-sql-cli-3.14.3-all.jar -h
Usage: scalardb-sql-cli [-hs] -c=PROPERTIES_FILE [-e=COMMAND] [-f=FILE]
[-l=LOG_FILE] [-o=<outputFormat>] [-p=PASSWORD]
[-u=USERNAME]
Expand Down Expand Up @@ -304,6 +304,6 @@ For details about the ScalarDB Cluster gRPC API, refer to the following:

JavaDocs are also available:

* [ScalarDB Cluster Java Client SDK](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-java-client-sdk/3.14.1/index.html)
* [ScalarDB Cluster Common](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-common/3.14.1/index.html)
* [ScalarDB Cluster RPC](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-rpc/3.14.1/index.html)
* [ScalarDB Cluster Java Client SDK](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-java-client-sdk/3.14.3/index.html)
* [ScalarDB Cluster Common](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-common/3.14.3/index.html)
* [ScalarDB Cluster RPC](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-rpc/3.14.3/index.html)
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ services:

scalardb-cluster-standalone:
container_name: "scalardb-cluster-node"
image: "ghcr.io/scalar-labs/scalardb-cluster-node-byol-premium:3.14.1"
image: "ghcr.io/scalar-labs/scalardb-cluster-node-byol-premium:3.14.3"
ports:
- 60053:60053
- 9080:9080
Expand Down Expand Up @@ -241,7 +241,7 @@ scalar.db.sql.cluster_mode.contact_points=indirect:localhost
Then, start the SQL CLI by running the following command.

```console
java -jar scalardb-cluster-sql-cli-3.14.1-all.jar --config scalardb-cluster-sql-cli.properties
java -jar scalardb-cluster-sql-cli-3.14.3-all.jar --config scalardb-cluster-sql-cli.properties
```

To begin, create the Coordinator tables required for ScalarDB transaction execution.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster).
Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](../schema-loader.mdx) except the name of the JAR file is different.
You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.1).
You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.3).
After downloading the JAR file, you can run the Schema Loader for Cluster with the following command:

```console
java -jar scalardb-cluster-schema-loader-3.14.1-all.jar --config database.properties -f schema.json --coordinator
java -jar scalardb-cluster-schema-loader-3.14.3-all.jar --config database.properties -f schema.json --coordinator
```

## Step 4. Run operations from GraphiQL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

## Step 3. Load a schema

To load a schema, you need to use [the SQL CLI](developer-guide-for-scalardb-cluster-with-java-api.mdx#sql-cli). You can download the SQL CLI from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.1). After downloading the JAR file, you can use SQL CLI for Cluster by running the following command:
To load a schema, you need to use [the SQL CLI](developer-guide-for-scalardb-cluster-with-java-api.mdx#sql-cli). You can download the SQL CLI from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.3). After downloading the JAR file, you can use SQL CLI for Cluster by running the following command:

```console
java -jar scalardb-cluster-sql-cli-3.14.1-all.jar --config scalardb-sql.properties --file schema.sql
java -jar scalardb-cluster-sql-cli-3.14.3-all.jar --config scalardb-sql.properties --file schema.sql
```

## Step 4. Load the initial data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

## Step 3. Load a schema

To load a schema, you need to use [the SQL CLI](developer-guide-for-scalardb-cluster-with-java-api.mdx#sql-cli). You can download the SQL CLI from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.1). After downloading the JAR file, you can use SQL CLI for Cluster by running the following command:
To load a schema, you need to use [the SQL CLI](developer-guide-for-scalardb-cluster-with-java-api.mdx#sql-cli). You can download the SQL CLI from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.3). After downloading the JAR file, you can use SQL CLI for Cluster by running the following command:

```console
java -jar scalardb-cluster-sql-cli-3.14.1-all.jar --config scalardb-sql.properties --file schema.sql
java -jar scalardb-cluster-sql-cli-3.14.3-all.jar --config scalardb-sql.properties --file schema.sql
```

## Step 4. Modify `application.properties`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ To use ScalarDB Cluster, open `build.gradle` in your preferred text editor. Then
dependencies {
...

implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.1'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.3'
}
```

Expand Down Expand Up @@ -166,12 +166,12 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

The database schema (the method in which the data will be organized) for the sample application has already been defined in [`schema.json`](https://github.com/scalar-labs/scalardb-samples/tree/main/scalardb-sample/schema.json).

To apply the schema, go to [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.1) and download the ScalarDB Cluster Schema Loader to the `scalardb-samples/scalardb-sample` folder.
To apply the schema, go to [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.3) and download the ScalarDB Cluster Schema Loader to the `scalardb-samples/scalardb-sample` folder.

Then, run the following command:

```console
java -jar scalardb-cluster-schema-loader-3.14.1-all.jar --config database.properties -f schema.json --coordinator
java -jar scalardb-cluster-schema-loader-3.14.3-all.jar --config database.properties -f schema.json --coordinator
```

#### Schema details
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

## Step 3. Load a schema

To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](../schema-loader.mdx) except the name of the JAR file is different. You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.1). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command:
To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](../schema-loader.mdx) except the name of the JAR file is different. You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.3). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command:

```console
java -jar scalardb-cluster-schema-loader-3.14.1-all.jar --config database.properties -f schema.json --coordinator
java -jar scalardb-cluster-schema-loader-3.14.3-all.jar --config database.properties -f schema.json --coordinator
```

## Step 4. Set up a Go environment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

## Step 3. Load a schema

To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](../schema-loader.mdx) except the name of the JAR file is different. You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.1). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command:
To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](../schema-loader.mdx) except the name of the JAR file is different. You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.3). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command:

```console
java -jar scalardb-cluster-schema-loader-3.14.1-all.jar --config database.properties -f schema.json --coordinator
java -jar scalardb-cluster-schema-loader-3.14.3-all.jar --config database.properties -f schema.json --coordinator
```

## Step 4. Set up a Python environment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Select your build tool, and follow the instructions to add the build dependency

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.1'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.3'
}
```
</TabItem>
Expand All @@ -282,7 +282,7 @@ Select your build tool, and follow the instructions to add the build dependency
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.14.1</version>
<version>3.14.3</version>
</dependency>
```
</TabItem>
Expand All @@ -307,5 +307,5 @@ The following limitations apply to non-transactional storage operations:

### Learn more

- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb/3.14.1/index.html)
- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb/3.14.3/index.html)
- [Developer Guide for ScalarDB Cluster with the Java API](developer-guide-for-scalardb-cluster-with-java-api.mdx)
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ Also, for a list of supported DDLs, see [ScalarDB SQL Grammar](../scalardb-sql/g

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-sql-jdbc:3.14.1'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.1'
implementation 'com.scalar-labs:scalardb-sql-jdbc:3.14.3'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.3'
}
```
</TabItem>
Expand All @@ -289,12 +289,12 @@ Also, for a list of supported DDLs, see [ScalarDB SQL Grammar](../scalardb-sql/g
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-sql-jdbc</artifactId>
<version>3.14.1</version>
<version>3.14.3</version>
</dependency>
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.14.1</version>
<version>3.14.3</version>
</dependency>
</dependencies>
```
Expand Down Expand Up @@ -341,8 +341,8 @@ The following limitations apply to non-transactional storage operations:

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-sql:3.14.1'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.1'
implementation 'com.scalar-labs:scalardb-sql:3.14.3'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.14.3'
}
```
</TabItem>
Expand All @@ -354,12 +354,12 @@ The following limitations apply to non-transactional storage operations:
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-sql</artifactId>
<version>3.14.1</version>
<version>3.14.3</version>
</dependency>
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.14.1</version>
<version>3.14.3</version>
</dependency>
</dependencies>
```
Expand Down Expand Up @@ -387,7 +387,7 @@ The following limitations apply to non-transactional storage operations:

<h3>Learn more</h3>

- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb-sql/3.14.1/index.html)
- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb-sql/3.14.3/index.html)

</TabItem>
</Tabs>
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ services:

scalardb-cluster-standalone:
container_name: "scalardb-cluster-node"
image: "ghcr.io/scalar-labs/scalardb-cluster-node-byol-premium:3.14.1"
image: "ghcr.io/scalar-labs/scalardb-cluster-node-byol-premium:3.14.3"
ports:
- 60053:60053
- 9080:9080
Expand Down Expand Up @@ -246,7 +246,7 @@ scalar.db.cluster.auth.enabled=true
Then, start the SQL CLI by running the following command.

```console
java -jar scalardb-cluster-sql-cli-3.14.1-all.jar --config scalardb-cluster-sql-cli.properties
java -jar scalardb-cluster-sql-cli-3.14.3-all.jar --config scalardb-cluster-sql-cli.properties
```

Enter the username and password as `admin` and `admin`, respectively.
Expand Down Expand Up @@ -335,7 +335,7 @@ You can see that `user1` has been granted the `SELECT`, `INSERT`, and `UPDATE` p
Log in as `user1` and execute SQL statements.

```console
java -jar scalardb-cluster-sql-cli-3.14.1-all.jar --config scalardb-cluster-sql-cli.properties
java -jar scalardb-cluster-sql-cli-3.14.3-all.jar --config scalardb-cluster-sql-cli.properties
```

Enter the username and password as `user1` and `user1`, respectively.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ You can deploy PostgreSQL on the Kubernetes cluster as follows.
5. Set the chart version of ScalarDB Cluster.

```console
SCALAR_DB_CLUSTER_VERSION=3.14.1
SCALAR_DB_CLUSTER_VERSION=3.14.3
SCALAR_DB_CLUSTER_CHART_VERSION=$(helm search repo scalar-labs/scalardb-cluster -l | grep -F "${SCALAR_DB_CLUSTER_VERSION}" | awk '{print $2}' | sort --version-sort -r | head -n 1)
```

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-3.14/scalardb-sql/jdbc-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,4 @@ Please see also [ScalarDB SQL API Guide](sql-api-guide.mdx) for more details on

- [Java JDBC API](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/)
- [ScalarDB SQL API Guide](sql-api-guide.mdx)
- [Javadoc for ScalarDB JDBC](https://javadoc.io/doc/com.scalar-labs/scalardb-sql-jdbc/3.14.1/index.html)
- [Javadoc for ScalarDB JDBC](https://javadoc.io/doc/com.scalar-labs/scalardb-sql-jdbc/3.14.3/index.html)
Loading