jooq: jOOQ 3.21.9 on Spring Boot 4.2.0 - codegen from Flyway migrations, typed queries, MULTISET, transactions, Testcontainers, fourteen real transcripts
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7h4ZNF4BDUpJk3Zou
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
8d8c28e2e5
commit
3f061c5e5d
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
# Regenerates every file in output/. Needs Docker (Testcontainers starts PostgreSQL 17) and JDK 25.
|
||||
# 01-08, 12 written by the test suite (each test also asserts what it prints)
|
||||
# 09, 10, 11 written by scripts that break a throwaway copy of the module on purpose
|
||||
# 00 the code generator run (scripts/codegen.sh)
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
mvn -B -q test
|
||||
scripts/container-trap.sh >/dev/null
|
||||
scripts/compile-errors.sh >/dev/null
|
||||
scripts/drift-demo.sh >/dev/null
|
||||
scripts/startup-warnings.sh >/dev/null
|
||||
scripts/missing-flyway-module.sh >/dev/null
|
||||
sums() { find src/main/java/com/ankurm/jooq/generated -name '*.java' | sort | xargs sha256sum | sha256sum | cut -c1-16; }
|
||||
BEFORE="$(sums)"
|
||||
{
|
||||
echo "\$ scripts/codegen.sh"
|
||||
scripts/codegen.sh 2>&1 | grep -v -E 'Picked up|^WARNING'
|
||||
echo
|
||||
echo "checksum of generated sources before: $BEFORE"
|
||||
echo "checksum of generated sources after: $(sums)"
|
||||
} > output/00-codegen-run.txt
|
||||
echo "wrote:"; ls output
|
||||
Reference in New Issue
Block a user