An open API service indexing awesome lists of open source software.

https://github.com/project-tsurugi/tanzawa

Tsurugi SQL console, and more tools written in Java
https://github.com/project-tsurugi/tanzawa

cli database-access java jline jline3 sql tsurugidb

Last synced: 7 months ago
JSON representation

Tsurugi SQL console, and more tools written in Java

Awesome Lists containing this project

README

          

# Tanzawa: Tsurugi command line tools written in Java

## Available Tools

* [tgsql](./modules/tgsql) - Text based SQL client program.
* [tgdump](./modules/tgdump) - Dump Tool.

## Requirements

* JDK `>= 11`

## How to build

```sh
./gradlew assemble
```

### for Eclipse Buildship users

If you work with [Eclipse Buildship](https://github.com/eclipse/buildship), the following [Gradle initialization script](https://docs.gradle.org/current/userguide/init_scripts.html) avoids the conflict of each project name on the Eclipse workspace.

```gradle
allprojects { project ->
if (project != project.rootProject) {
project.tasks.matching { it.name == 'eclipseProject' }.each { task ->
task.projectModel.name = (project.rootProject.name + project.path).replace(':', '-')
}
}
}
```

## How to test

```sh
./gradlew test
```

## How to run SQL console CLI

see [modules/tgsql/README.md](modules/tgsql/README.md).

## License

[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)