-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Question mark (?
) in string literal erroneously detected as parameter bind marker
#3125
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Aug 24, 2023
mp911de
added
type: regression
A regression from a previous release
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Aug 24, 2023
It seems that we broke the parsing with a bugfix. We should not detect the question mark within the string literal. |
mp911de
changed the title
Since 3.1.3: Mixing of ? parameters and other forms like ?1 is not supported
Question mark in string literal erroneously detected as parameter bind marker
Aug 25, 2023
mp911de
added a commit
that referenced
this issue
Aug 25, 2023
We now inspect individual parameters instead of the resulting query whether the query contains JDBC-style bind markers. Previously, we inspected the final (rewritten) query which might have contained question marks in literals leading to improper validation failures. Closes #3125
mp911de
added a commit
that referenced
this issue
Aug 25, 2023
We now inspect individual parameters instead of the resulting query whether the query contains JDBC-style bind markers. Previously, we inspected the final (rewritten) query which might have contained question marks in literals leading to improper validation failures. Closes #3125
That's fixed now and part of the latest snapshots. Care to give it a try with |
mp911de
changed the title
Question mark in string literal erroneously detected as parameter bind marker
Question mark (Aug 28, 2023
?
) in string literal erroneously detected as parameter bind marker
We have the same when using the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since the Spring Boot 3.1.3 release, the following native query no longer works:
The following error is generated:
The question mark in the regular expression in the query should be directed to MariaDB.
The text was updated successfully, but these errors were encountered: