Files
Ankur MhatreandClaude Sonnet 5.5 fc8bc933d5 jdbcclient: JdbcClient on Spring Framework 7.0.10 / Boot 4.1.2, with twelve real transcripts
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
2026-11-18 21:25:30 +05:30

29 lines
888 B
Plaintext

methods on JdbcClient and its three spec interfaces, read by reflection (21 names):
JdbcClient.create
JdbcClient.sql
MappedQuerySpec.list
MappedQuerySpec.optional
MappedQuerySpec.set
MappedQuerySpec.single
MappedQuerySpec.stream
ResultQuerySpec.listOfRows
ResultQuerySpec.optionalValue
ResultQuerySpec.rowSet
ResultQuerySpec.singleColumn
ResultQuerySpec.singleRow
ResultQuerySpec.singleValue
StatementSpec.param
StatementSpec.paramSource
StatementSpec.params
StatementSpec.query
StatementSpec.update
StatementSpec.withFetchSize
StatementSpec.withMaxRows
StatementSpec.withQueryTimeout
any method with 'batch' in its name: false
beans of type JdbcClient in the Boot context: 1 ([jdbcClient])
implementation class: org.springframework.jdbc.core.simple.DefaultJdbcClient
beans Boot also provides: JdbcTemplate=true NamedParameterJdbcTemplate=true