-
Notifications
You must be signed in to change notification settings - Fork 59
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
Lift input parameter restrictions #103
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
|
So @beikov, to my way of thinking, this restriction is actually reasonably well-motivated.
The thing is that actually existing JPA implementations don't (I guess) impose enforce this restriction. Rather, they let you use parameters wherever you like, and then blow up if the database doesn't like it. For the spec to impose a blanket requirement that parameters are allowed anywhere, and for the TCK to test that, might require providers having to implement really nasty and impractical workarounds. (Remember, we certify on Derby, which is hot garbage in this area.) The spec is saying what providers have to support. It's not limiting what they can support. So honestly I think this is basically fine. However, I would suggest a slight change in wording, from:
To:
WDYT? |
P.S. If someone can promise me that neither Derby nor any major RDBMS has any problem dealing with parameters in |
please see #492 |
I just came across JPA spec 4.6.4 and I was shocked. Is there any reason to limit input parameters to WHERE and HAVING clauses?
The text was updated successfully, but these errors were encountered: