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: 9 days ago
JSON representation
Tsurugi SQL console, and more tools written in Java
- Host: GitHub
- URL: https://github.com/project-tsurugi/tanzawa
- Owner: project-tsurugi
- License: apache-2.0
- Created: 2022-09-05T04:21:49.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2026-06-16T00:28:26.000Z (about 1 month ago)
- Last Synced: 2026-06-16T02:06:28.163Z (about 1 month ago)
- Topics: cli, database-access, java, jline, jline3, sql, tsurugidb
- Language: Java
- Homepage:
- Size: 1.37 MB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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 `>= 17`
**Note:** The build is configured with `release = 11` in Gradle, which means the compiled bytecode is compatible with Java 11 or later. While JDK 17 is required for the build environment, the resulting JAR files can run on Java 11 and above.
## 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)