Got rid of the deprecated JdbcTemplate#queryForInt & JdbcTemplate#queryForLong methods.
Got rid of "unused import" compilation warnings.