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
+24
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
# What a Flyway 12 + PostgreSQL project does without the separate flyway-database-postgresql module.
|
||||
set -uo pipefail
|
||||
HERE="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
OUT="$HERE/output/14-missing-flyway-database-module.txt"
|
||||
WORK="$(mktemp -d)"
|
||||
mkdir -p "$WORK/m" && cp -r "$HERE/pom.xml" "$HERE/src" "$WORK/m/"
|
||||
cd "$WORK/m"
|
||||
python3 - <<'PY'
|
||||
import re
|
||||
s=open('pom.xml').read()
|
||||
s=s.replace(''' <dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-database-postgresql</artifactId>
|
||||
</dependency>
|
||||
''','',1)
|
||||
open('pom.xml','w').write(s)
|
||||
PY
|
||||
{
|
||||
echo "flyway-database-postgresql removed from the application dependencies"
|
||||
mvn -B -q test -Dtest=JooqSliceTest 2>&1 | grep -E 'Caused by: org.flywaydb.core.api.FlywayException|Tests run:.*Fail' | sed -E 's/^[0-9T:.+-]+ +(WARN|ERROR|INFO) +[0-9]+ --- \[[^]]*\] \[[^]]*\] //' | awk '!s[$0]++' | cut -c1-300 | head -6
|
||||
} > "$OUT"
|
||||
cd "$HERE"; rm -rf "$WORK"
|
||||
cat "$OUT"
|
||||
Reference in New Issue
Block a user