Skip to content
New issue

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

Code snippet for many JDBC methods are showing wrong arguments. [SPR-11945] #16562

Closed
spring-projects-issues opened this issue Jul 3, 2014 · 1 comment
Assignees
Labels
type: documentation
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Jul 3, 2014

Milind Paradkar opened SPR-11945 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:

Referenced from: commits 62351e0, f8ab4f6

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Jul 3, 2014

Stéphane Nicoll commented

Fixed in 62351e0f

Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation
Projects
None yet
Development

No branches or pull requests

2 participants