Parameters, row mapping, single/optional/list, generated keys, batch via NamedParameterJdbcTemplate (JdbcClient has none), exception translation, transactions, an unclosed stream() exhausting a 2-connection pool, withMaxRows truncating silently, and spring.jdbc.template.* reaching the auto-configured JdbcClient. JdbcClient API diffed across 6.1.0, 6.2.19 and 7.0.0. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5n3PRbPkUsiJybTeg
10 lines
462 B
Bash
Executable File
10 lines
462 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Regenerates every file in output/ by running the test suite (in-memory H2, no Docker, no network after the first build).
|
|
# The tests write the transcripts and assert the same facts, so a stale transcript fails the build.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
rm -f output/*.txt
|
|
mvn -B -q test
|
|
./scripts/api-diff.sh > /dev/null # outputs 13 and 14: reads spring-jdbc jars from Maven Central, needs the network
|
|
echo "wrote:"; ls output
|