Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Michael Isvy opened SPR-10257 and commented
Those methods were mostly relevant prior to Java 5. Thanks to Generics, we now can use query(...) methods instead in all cases that I can think of.
No further details from SPR-10257
The text was updated successfully, but these errors were encountered:
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 @Deprecated which method should be used now: queryForObject.
@Deprecated
Sorry, something went wrong.
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
jhoeller
No branches or pull requests
Michael Isvy opened SPR-10257 and commented
Those methods were mostly relevant prior to Java 5. Thanks to Generics, we now can use query(...) methods instead in all cases that I can think of.
No further details from SPR-10257
The text was updated successfully, but these errors were encountered: