Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use text blocks for SQL statements #2137

Merged
merged 2 commits into from
Aug 31, 2022
Merged

Conversation

vpavic
Copy link
Contributor

@vpavic vpavic commented Aug 30, 2022

With Java 17 now being the baseline, strings containing SQL statements can be managed more conveniently using text blocks.

Note: these changes require upgrade of Spring JavaFormat in order for the formatter to be able to deal with text blocks.

vpavic added 2 commits August 30, 2022 13:09
With Java 17 now being the baseline, strings containing SQL statements
can be managed more conveniently using text blocks.
@rwinch rwinch merged commit 2191c6f into spring-projects:main Aug 31, 2022
@rwinch rwinch self-assigned this Aug 31, 2022
@rwinch rwinch added type: enhancement A general enhancement in: build An issue in the build labels Aug 31, 2022
@rwinch rwinch added this to the 3.0.0-M3 milestone Aug 31, 2022
@vpavic vpavic deleted the sql-text-blocks branch August 31, 2022 05:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
in: build An issue in the build type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants