cmeza20/spring-boot-starter-jdbc-repository ? reverse-engineered prompt
Reverse engineered prompt
Build me a Spring Boot starter for JDBC repositories that feels like Spring Data JPA, but for JdbcTemplate.
I want to be able to define repository interfaces with an annotation like a JDBC repository, then use method annotations for things like simple queries, raw SQL queries, pagination, updates, inserts, functions, stored procedures, calls, and execute statements. It should also support mapping method parameters into named SQL params, reading values from objects, and handling projections and records cleanly.
Please include the basic auto configuration, the needed annotations, row mappers, and the DSL support so queries can be built in a nicer way when I do not want to write raw SQL everywhere. Make it work with Spring Boot 3 and Java 17, and keep it easy to drop into an app with just a datasource and enable annotation. If there are any current Spring Boot or JDBC details that matter, look them up online and use the right approach.
Are you gonna build this?
make sure you review the code using coderabbit