What is Spring's philosophy on throwing IncorrectResultSizeDataAccessException versus DataRetrievalFailureException. I ran JdbcTemplate's queryForInt() when the expected row was not found. The implementation throws IncorrectResultSizeDataAccessException when I was expecting DataRetrievalFailureException. Under what circumstances is DataRetrievalFailureException (or subclasses) thrown?
Thanks,
Jon


Reply With Quote