-
-
Notifications
You must be signed in to change notification settings - Fork 336
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
Multiline create procedure script causes UnableToExecuteStatementException #2535
Labels
Comments
thank you for filing a bug report with Jdbi. I could reproduce this. |
hgschmie
added a commit
to hgschmie/jdbi
that referenced
this issue
Nov 24, 2023
Script parsing raises its ugly head again. Again. Allow for `END;` as it is used within MySQL scripts. Fixes jdbi#2535
hgschmie
added a commit
to hgschmie/jdbi
that referenced
this issue
Nov 24, 2023
Script parsing raises its ugly head again. Again. Allow for `END;` as it is used within MySQL scripts. Fixes jdbi#2535
hgschmie
added a commit
to hgschmie/jdbi
that referenced
this issue
Nov 24, 2023
Script parsing raises its ugly head again. Again. Allow for `END;` as it is used within MySQL scripts. Fixes jdbi#2535
hgschmie
added a commit
to hgschmie/jdbi
that referenced
this issue
Nov 24, 2023
Script parsing raises its ugly head again. Again. Allow for `END;` as it is used within MySQL scripts. Fixes jdbi#2535
#2547 fixes this. Will be released as part of the next release (3.42.0). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Starting from version
org.jdbi:jdbi3-core:3.31.0
I haveUnableToExecuteStatementException
when running a multiline script to create a procedure in MySQL via JDBI. Versions prior to3.30.0
(including) don't have this issue. It is still reproduced in the latest3.41.3
release.I suspect it might be related to #2021, but not sure. Some other statements, like for example
DELETE FROM tablename WHERE ...;
, successfully pass even when multiline.JDBI versions:
3.31.0+
Java version:
11
MySQL version:
8.0.32
JDBC Driver:
software.aws.rds:aws-mysql-jdbc:1.1.11
Test to reproduce:
Output from
failsMultiLine
:The text was updated successfully, but these errors were encountered: