Spring's JdbcTemplate makes database connectivity much easier than plain JDBC, but it's no match for Spring Data's CrudRepository. Additionally, as seen above, the primary key in the associated class ...
Writing succinct and elegant JDBC code can be difficult. You have to create a few different objects and catch numerous checked exceptions, even if you can't reasonably recover from them. Closing a ...