Add flush-ordering module: Hibernate 8.0.0.CR2 graph vs legacy flush queue

Seven runnable scenarios that record the real JDBC SQL under
hibernate.flush.queue.type=legacy and graph: insert order, delete order,
unique delete-then-reinsert, unique swap, NOT NULL FK, batching, setting values.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b3obqqePfZ9m2Jk5Ub
This commit is contained in:
Claude
2026-11-26 18:13:08 +05:30
parent 453fad0ee7
commit 4f7ebd5cb0
12 changed files with 584 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Runs the whole suite and prints the transcripts it wrote to target/transcripts/. Needs JDK 25 and Maven.
set -euo pipefail
cd "$(dirname "$0")/.."
mvn -B -q test
for f in target/transcripts/*.txt; do
echo "##### $f"
cat "$f"
echo
done