You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NamedParameterJdbcTemplate and JdbcTemplate: consider deprecating queryFor* methods [SPR-10257] #14890
Good catch! I've updated the reference docs accordingly.
Note that the deprecation markers in the JdbcOperations interface do refer to the queryForObject method. We're just not repeating those javadoc links in the JdbcTemplate class itself.
Activity
spring-projects-issues commentedon Mar 25, 2013
Paul Middelkoop commented
queryForInt is still mentioned in the documentation: http://static.springsource.org/spring/docs/3.2.x/spring-framework-reference/html/jdbc.html#jdbc-JdbcTemplate
Also tell in the Javadoc
@Deprecatedwhich method should be used now: queryForObject.spring-projects-issues commentedon Apr 30, 2013
Juergen Hoeller commented
Good catch! I've updated the reference docs accordingly.
Note that the deprecation markers in the JdbcOperations interface do refer to the queryForObject method. We're just not repeating those javadoc links in the JdbcTemplate class itself.
Juergen