groovy-cli-gradle-hibernate-cockroachdb-single-node-without-ssl-join
Description
Creates a small database table
called dog
and populates with
hql. Creates 2 lookup tables breedLookup
and colorLookup
and 4N dog
.
Joins breedLookup
and colorLookup
to form a new table dogextended
. These
joins are deministrated 3 ways, ResultTransformer
,
looking up ids on breedLookup
and colorLookup
,
and non-ResultTransformer method.
A groovy gradle build, that connects to single node
cockroach database without ssl.
Tech stack
- groovy
- gradle
- hibernate
- hql
- log4j
- postgres drivers
Docker stack
- cockroachdb/cockroach:v19.2.2
- gradle:jdk11
To run
sudo ./install.sh -u
To stop
sudo ./install.sh -d
For help
sudo ./install.sh -h