Skip to content

Add configuration properties for JdbcTemplate's ignoreWarnings, skipResultsProcess, skipUndeclaredResults, and resultsMapCaseInsensitive #44470

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

Closed
wants to merge 1 commit into from

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Feb 28, 2025

  • ignore-warnings
  • skip-results-processing
  • skip-undeclared-results
  • results-map-case-insensitive

Fix GH-44419

- ignore-warnings
- skip-results-processing
- skip-undeclared-results
- results-map-case-insensitive

Fix spring-projectsGH-44419

Signed-off-by: Yanming Zhou <[email protected]>
@wilkinsona
Copy link
Member

Flagging for team attention to make sure everyone else is happy with the separate property approach.

@wilkinsona wilkinsona added the for: team-attention An issue we'd like other members of the team to review label Feb 28, 2025
@snicoll
Copy link
Member

snicoll commented Feb 28, 2025

Read #44419 (comment) and I agree (unfortunately) that four properties are better.

@wilkinsona wilkinsona changed the title Add some missing configuration properties for JdbcTemplate Add configuration properties for JdbcTemplate's ignoreWarnings, skipResultsProcess, skipUndeclaredResults, and resultsMapCaseInsensitive Mar 4, 2025
@wilkinsona wilkinsona added type: enhancement A general enhancement and removed for: team-attention An issue we'd like other members of the team to review status: waiting-for-triage An issue we've not yet triaged labels Mar 5, 2025
@wilkinsona wilkinsona added this to the 3.5.x milestone Mar 5, 2025
@snicoll snicoll self-assigned this Mar 7, 2025
@snicoll snicoll modified the milestones: 3.5.x, 3.5.0-M3 Mar 7, 2025
snicoll pushed a commit that referenced this pull request Mar 7, 2025
This commit adds configuration properties for additional settings of
the auto-configured JdbcTemplate:

* ignore-warnings
* skip-results-processing
* skip-undeclared-results
* results-map-case-insensitive

See gh-44470

Signed-off-by: Yanming Zhou <[email protected]>
@snicoll snicoll closed this in ef3eaf3 Mar 7, 2025
@snicoll
Copy link
Member

snicoll commented Mar 7, 2025

@quaff since you're a prolific contributor, can you please review the polish commit. We use standard patterns for configuration properties, when in doubt please look at other classes.

@quaff
Copy link
Contributor Author

quaff commented Mar 10, 2025

I'm confused about the order of fields, it's lexicographic ordered, but not exactly.

@snicoll
Copy link
Member

snicoll commented Mar 10, 2025

It matches the order in JdbcTemplate. I was mostly talking about the field descriptions that I had to rewrite

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

Successfully merging this pull request may close these issues.

Some JdbcTemplate configuration properties are missing
4 participants