Skip to content

Latest commit

 

History

History
executable file
·
42 lines (33 loc) · 1.17 KB

File metadata and controls

executable file
·
42 lines (33 loc) · 1.17 KB

groovy-cli-bazel-hibernate-db2-view

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

Add an immutable entity breedcount as a view uses a subquery join.

Tech stack

  • groovy
  • bazel
    • hibernate
    • hql
    • log4j
    • db2 driver

Docker stack

  • l.gcr.io/google/bazel:latest
  • ibmcom/db2

To run

sudo ./install.sh -u

To stop

sudo ./install.sh -d

For help

sudo ./install.sh -h

Credit