Skip to content

Latest commit

 

History

History
executable file
·
64 lines (53 loc) · 2.98 KB

File metadata and controls

executable file
·
64 lines (53 loc) · 2.98 KB

groovy-cli-gradle-hibernate-mysql-case-count

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 case-counts are deministrated 3 ways, ResultTransformer, looking up ids on breedLookup and colorLookup, and non-ResultTransformer method.

Add an immutable entity breedcount as a case-count uses a subquery join.

Updated an immutable entity breedcount as a view using a subselect with case and join.

Tech stack

  • groovy
  • gradle
    • hibernate
    • hql
    • log4j
    • mysql driver

Docker stack

  • gradle:jdk11
  • mariadb:latest

To run

sudo ./install.sh -u

To stop

sudo ./install.sh -d

For help

sudo ./install.sh -h

Credit

groovy-cli specific search

General search