spring JdbcTemplate 的queryForObject:Incorrect result size: expected 1, actual 0
错误:org.springframework.dao.IncorrectResultSizeDataAccessException:Incorrectresultsize:expected1,actual0原因:这里涉及到返回值的为null与0行()的区别0行:selectsalaryfromuserwhere1=2nullresult:selectmax(salary)fromuserwhere