Add cascade-types module: JPA cascade types and orphanRemoval on Hibernate 7.4.15.Final and 8.0.0.CR1 (incident reproduced in three schemas, cascade matrix, @OnDelete, delete order)
Plain Hibernate on H2, 14 tests, transcripts in cascade-types/output (h7 and h8). No docs folder. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5sy5qAYYdeYeS1xLW
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Regenerates every file under output/. Needs JDK 25, Maven 3.9 and network access to Maven Central (no Docker: H2 only).
|
||||
# ./scripts/run-all.sh
|
||||
# Runs the whole suite twice: Hibernate 7.4.15.Final (writes output/*-h7.txt), then Hibernate 8.0.0.CR1 (writes output/*-h8.txt).
|
||||
# `clean` between the two runs matters: stale classes compiled against the other Jakarta Persistence API link wrongly.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
mvn -B clean test
|
||||
mvn -B clean test -Dhibernate.version=8.0.0.CR1 -Dpersistence.version=4.0.0-M8 -Dh.label=h8
|
||||
ls -1 output
|
||||
Reference in New Issue
Block a user