Skip to content

Improve JdbcTemplateTests and NamedParameterJdbcTemplateTests - #37320

Open
quaff wants to merge 1 commit into
spring-projects:mainfrom
quaff:patch-158
Open

quaff wants to merge 1 commit into
spring-projects:mainfrom
quaff:patch-158

Conversation

@quaff

@quaff quaff commented Sep 22, 2026

Copy link
Copy Markdown
Contributor
  1. use @ParameterizedTest instead for batch update test.
  2. remove unnecessary atLeastOnce().
  3. replace hasSize() with isEqualTo().
  4. make fields as final where feasible.

1. use `@ParameterizedTest` instead for batch update test.
2. remove unnecessary `atLeastOnce()`.
3. replace `hasSize()` with `isEqualTo()`.
4. make fields as `final` where feasible.

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Sep 22, 2026
@sbrannen sbrannen added in: data Issues in data modules (jdbc, orm, oxm, tx) type: task A general task labels Sep 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: data Issues in data modules (jdbc, orm, oxm, tx) status: waiting-for-triage An issue we've not yet triaged or decided on type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants