Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bearddan2000/groovy-cli-bazel-hibernate-cockroachdb-multi-node-without-ssl-simple

Creates a small database table
https://github.com/bearddan2000/groovy-cli-bazel-hibernate-cockroachdb-multi-node-without-ssl-simple

bazel cli cockroachdb drivers groovy hibernate hql log4j multi node postgres simple ssl without

Last synced: 27 days ago
JSON representation

Creates a small database table

Awesome Lists containing this project

README

        

# groovy-cli-bazel-hibernate-cockroachdb-multi-node-without-ssl-simple

## Description
Creates a small database table
called `dog` and populates with
hql.
A groovy bazel build, that connects to single node
cockroach database without ssl.

## Tech stack
- groovy
- bazel
- hibernate
- hql
- log4j
- postgres drivers

## Docker stack
- cockroachdb/cockroach:v19.2.2
- l.gcr.io/google/bazel:latest

## To run
`sudo ./install.sh -u`
- [Master node webui](http://localhost:8000)
- [Slave node 1 webui](http://localhost:8001)
- [Slave node 2 webui](http://localhost:8002)

## To stop
`sudo ./install.sh -d`

## For help
`sudo ./install.sh -h`

## Credit
- [HQL code based on](https://www.journaldev.com/2954/hibernate-query-language-hql-example-tutorial)
- [Hibernate config based on](https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/An-example-hibernatecfgxml-for-MySQL-8-and-Hibernate-5)
- [Hibernate code based on](https://github.com/lokeshgupta1981/hibernate/tree/master/hibernate-hello-world)