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 ...