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
5 lines
235 B
Plaintext
5 lines
235 B
Plaintext
5 rows in the table
|
|
list() -> 5 rows
|
|
withMaxRows(2).list() -> 2 rows [KB-001, MS-002] (no warning, no exception)
|
|
a query that would run for minutes with withQueryTimeout(1) -> QueryTimeoutException (about 1 s)
|