**[Milind Paradkar](https://jira.spring.io/secure/ViewProfile.jspa?name=mmparadkar)** opened **[SPR-11945](https://jira.spring.io/browse/SPR-11945?redirect=false)** and commented Many JdbcTemplate methods which has type as argument are shown in wrong sequence of parameters. Example is : namedParameterJdbcTemplate.queryForObject(sql, Integer.class, namedParameters); which is not applicable for Spring 4.x and should be : namedParameterJdbcTemplate.queryForObject(sql, namedParameters, Integer.class); --- **Affects:** 4.0.5 **Reference URL:** http://docs.spring.io/spring/docs/current/spring-framework-reference/html/jdbc.html **Attachments:** - [QueryForObject-wrong-syntax.PNG](https://jira.spring.io/secure/attachment/22097/QueryForObject-wrong-syntax.PNG) (_34.48 kB_) **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/62351e0f6e80959c8ff030556643797909c237c9, https://github.com/spring-projects/spring-framework/commit/f8ab4f69808d302558216a95160fa9f65a769448