Revert "Revert "JdbcTemplate etc""

This reverts commit e26258aafa412eb92ba83083d0210b7840450696.