Skip to content

Handle newlines in subquery detection#2557

Closed
freafrea wants to merge 1 commit into
spring-projects:2.7.xfrom
freafrea:new_lines
Closed

Handle newlines in subquery detection#2557
freafrea wants to merge 1 commit into
spring-projects:2.7.xfrom
freafrea:new_lines

Conversation

@freafrea

@freafrea freafrea commented Jun 1, 2022

Copy link
Copy Markdown
  • [V] You have read the Spring Data contribution guidelines.
  • [V] You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • [V] You submit test cases (unit or integration tests) that back your changes.
  • [V] You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

Added support for handling newlines in finding of subqueries. Changed . to match newlines in regex.

@freafrea freafrea changed the title New lines Handle newlines in subquery detection Jun 1, 2022
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 1, 2022
@freafrea

freafrea commented Jun 1, 2022

Copy link
Copy Markdown
Author

It is my first time adding a PR to spring related projects, so I am not sure I've followed all guidelines :)

@freafrea

freafrea commented Jun 13, 2022

Copy link
Copy Markdown
Author

This issue is blocking my upgrade to spring boot 2.7.0. Is there anything I can do to help in merging this?

@freafrea freafrea mentioned this pull request Jul 13, 2022
4 tasks
@freafrea

freafrea commented Sep 2, 2022

Copy link
Copy Markdown
Author

@gregturn sorry for calling, but this issue blocks upgrading to newer spring boot versions. It is already fixed in at least three seperate PRs (this one, #2582, #2603).
I don't care which one you will merge, but could you please look into any of them?

gregturn pushed a commit that referenced this pull request Sep 28, 2022
gregturn added a commit that referenced this pull request Sep 28, 2022
Also added more test cases from related pull requests.

Closes #2582.
Related: #2563, #2557, #2603
@gregturn

Copy link
Copy Markdown
Contributor

The test cases from this PR were merged into f773701. Thanks!

@gregturn gregturn closed this Sep 28, 2022
@gregturn gregturn added this to the 3.0 RC1 (2022.0.0) milestone Sep 28, 2022
@gregturn gregturn self-assigned this Sep 28, 2022
@gregturn gregturn added type: bug A general bug in: query-parser Everything related to parsing JPQL or SQL and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 28, 2022
gregturn pushed a commit that referenced this pull request Sep 29, 2022
gregturn added a commit that referenced this pull request Sep 29, 2022
Also added more test cases from related pull requests.

Closes #2582.
Related: #2563, #2557, #2603
gregturn pushed a commit that referenced this pull request Sep 29, 2022
gregturn added a commit that referenced this pull request Sep 29, 2022
Also added more test cases from related pull requests.

Closes #2582.
Related: #2563, #2557, #2603
@gregturn

Copy link
Copy Markdown
Contributor

Backported to 2.7.x. and 2.6.x.

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

Labels

in: query-parser Everything related to parsing JPQL or SQL type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants