What does SimpleJDBCTemplate.queryForInt
do when the SQL query's actual result is null?
In particular, what happens if I run queryForInt("select max(foo) from f")
and f
has no rows?
While I'm on this subject, what happens if I run queryForInt("select foo from f")
and f
has no rows?