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
9 lines
442 B
Plaintext
9 lines
442 B
Plaintext
findBySku("MS-002") JdbcClient == JdbcTemplate: true
|
|
findBySku("NOPE") both Optional.empty: true
|
|
findInStockCheaperThan(4000) rows: 3, identical: true
|
|
findBySkus([KB-001, WC-005]) rows: 2, identical: true
|
|
updateStock(1, 99) rows updated by each: 1
|
|
|
|
First row returned by findBySku("MS-002"):
|
|
Product[id=2, sku=MS-002, name=Wireless Mouse, price=1299.50, inStock=true, createdOn=2026-02-14, stockCount=40]
|