311 Frameworks Spring Jdbc

Use when you need to write or review programmatic JDBC with Spring — including JdbcClient (Spring Framework 7+) as the default API, JdbcTemplate only where batch/streaming APIs require JdbcOperations, NamedParameterJdbcTemplate for legacy named-param code, parameterized SQL, RowMapper mapping to records, batch operations, transactions, safe handling of generated keys, DataAccessException handling, read-only transactions, streaming large result sets, and @JdbcTest slice testing. This should trigger for requests such as Review Java code for Spring JDBC (JdbcTemplate, JdbcClient, NamedParameterJdbcTemplate); Apply best practices for Spring JDBC data access in Java code; Detect and fix SQL injection risks in JDBC code; Improve transaction boundaries or exception handling for JDBC operations. Part of cursor-rules-java project

majiayu000 b64ce76 2 files · 4.6 KB Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/development/311-frameworks-spring-jdbc commit b64ce76b8c

Frequently asked questions

npx skillmds add majiayu000/311-frameworks-spring-jdbc