Skip to content

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

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions