Skip to content

opitzconsulting/jooq-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The JOOQ Demo Code

Table of Contents

Introduction

This project contains the code for the JOOQ demo. The blog post is available at The Cattle Crew Blog (in German).

You need docker and docker-compose installed for this project.

The documentation can be generated as an antora static site using the following command:

Running all relevant commands
pre-commit install (1)
docker-compose up -d (2)
./gradlew :db:update (3)
./gradlew :db:jooqCodegen (4)
./gradlew build (5)
docker compose --profile=doc up -d (6)
./gradlew :doc:antora (7)
  1. Install the pre-commit hooks (if you have pre-commit installed)

  2. Start the database and the adminer

  3. Create tables using the liquibase scripts

  4. Generate the JOOQ Klasses from the Database

  5. Build the project

  6. Create the antora site

You can then open the site using the file docs/build/site/docs/index.html. Running the data generator etc. is documented in the blog post.

Blog Post

Note
The following text is only available in German.