code: public <T> T queryForObject(String sql, Class<T> requiredType) throws SQLException {
  		return queryForObject(sql, getSingleColumnRowMapper(requiredType));
  	}
docs: Execute a query that returns a single value that can be cast to the given type.