较新版本的spring jdbc template将queryForInt等方法标记为过时,为什么

以前都用queryForInt来求count(*),最近换了新版本spring,发现标记为过时了,替代方法虽然有很多,但这个比较直接,为什么过时?

[code="java"]
现在方法统一 了

jdbcTemplate.queryForObject(sql, Integer.class, id)
[/code]