Skip to content

Latest commit

 

History

History
executable file
·
48 lines (38 loc) · 1.3 KB

File metadata and controls

executable file
·
48 lines (38 loc) · 1.3 KB

java-cli-bloop-sbt-hibernate-postgres-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.

Uses self-sign ssl.

Compiled and ran from build server bloop.

Build note

Dependencies must be compatable with jdk8 or less.

Tech stack

  • bloop
  • java
  • bloop-sbt
    • hibernate
    • hql
    • log4j
    • postgres driver

Docker stack

  • alpine:edge
  • hseeberger/scala-bloop-sbt:11.0.2-oraclelinux7_1.3.5_2.12.10
  • postgres:alpine

To run

sudo ./install.sh -u

To stop

sudo ./install.sh -d

For help

sudo ./install.sh -h

Credit