We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/jakartaee/data/blob/main/spec/src/main/asciidoc/query-language.asciidoc#parameters
The spec does not clarify whether we can combine the original with the named parameter.
I did not find any combination on the internet or in our specs, so I assume they cannot mix.
Based on my understanding, if there is an ordinal, all parameters should be ordinal. This is my current interpretation of the situation.
Does it make sense?
No response
The text was updated successfully, but these errors were encountered:
Ah, this is a very good point. Nice catch.
So, in our implementation we do let you mix named and positional parameters.
However, the JPA spec says:
Positional and named parameters must not be mixed in a single query.
(Section 4.7.4 of JPA 3.2.)
So we should add that same restriction to the spec for JDQL.
Sorry, something went wrong.
Ah, this is a very good point. Nice catch. So, in our implementation we do let you mix named and positional parameters. However, the JPA spec says: Positional and named parameters must not be mixed in a single query. (Section 4.7.4 of JPA 3.2.) So we should add that same restriction to the spec for JDQL.
Ok, I will open a PR with this information.
Successfully merging a pull request may close this issue.
Specification
https://github.com/jakartaee/data/blob/main/spec/src/main/asciidoc/query-language.asciidoc#parameters
I need clarification on ...
The spec does not clarify whether we can combine the original with the named parameter.
I did not find any combination on the internet or in our specs, so I assume they cannot mix.
Based on my understanding, if there is an ordinal, all parameters should be ordinal. This is my current interpretation of the situation.
Does it make sense?
Additional information
No response
The text was updated successfully, but these errors were encountered: