Added jdbcTemplate functions