-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Using own Feature - constant for "delete with returning" #1597
Comments
gitmotte
added a commit
to gitmotte/JSqlParser
that referenced
this issue
Jul 23, 2022
gitmotte
added a commit
to gitmotte/JSqlParser
that referenced
this issue
Jul 23, 2022
Thank you for helping me out! I honestly have no idea how this validation framework works and tried brute force. |
Are the correlations clearer for you now, when you look at the changes? |
I've added a "Further development" section to the wiki of my fork - could you please merge it to the original wiki of JSQLParser @wumpz ? (don't know how to add merge requests for wiki-pages) |
wumpz
pushed a commit
that referenced
this issue
Jul 25, 2022
merged it :) manually |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#1527 introduced DELETE with RETURNING and used
Feature.insertReturningExpressionList
within the validation
net.sf.jsqlparser.util.validation.validator.DeleteValidator
- theFeature.insertReturningExpressionList
is part of the validation groupFeaturesAllowed.INSERT
and therefore only allowed for INSERT statements.The bugfix fixes the problem with a new feature constant
Feature.deleteReturningExpressionList
which is part of the validation groupFeaturesAllowed.DELETE
.The text was updated successfully, but these errors were encountered: