是数据操作时用来取出返回集里的类型为Int的字段:如下int count = jdbcTemplate.queryForInt("SELECT COUNT(*) FROM USER"); int count = jdbcTemplate.queryForInt("SELECT COUNT(*) FROM USER");