-
Notifications
You must be signed in to change notification settings - Fork 173
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
[3.0] Improve EclipseLink query parameter binding behavior #1523
Conversation
This pull request fixes 36 alerts when merging be8c0b6 into cfda40a - view on LGTM.com fixed alerts:
|
70769b2
to
7d0cc96
Compare
This pull request fixes 36 alerts when merging 7d0cc96 into cfda40a - view on LGTM.com fixed alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
actually |
So, I'm a bit confused looking at the purpose of the test Lines 432 to 449 in cfda40a
The test seems to be asserting that if the translated query contains "?", then it was translated incorrectly. Before this change: SELECT ID, FIRSTNAME, LASTNAME FROM employee WHERE (FIRSTNAME = 'Bob') After this change: SELECT ID, FIRSTNAME, LASTNAME FROM employee WHERE (FIRSTNAME = ?) Question:
If you agree with the new behavior I am delivering, I can change the test and add one for Looking at the code changes I am making, I can see why this behavior has changed: Lines 1499 to 1510 in cfda40a
The change that I am making is removing the arbitrary Question:
If this behavior change is unacceptable, I can put it back the way it is. In my opinion, it seems rather arbitrary to be disabling parameter binding here. But I did review the usage of |
This pull request fixes 36 alerts when merging 5e598b2 into cfda40a - view on LGTM.com fixed alerts:
|
This pull request fixes 36 alerts when merging fc539e4 into 85e3491 - view on LGTM.com fixed alerts:
|
This pull request fixes 36 alerts when merging 72dc8a6 into 85e3491 - view on LGTM.com fixed alerts:
|
It seems the build is failing to build DBWS:
This doesn't seem to be related to my change. Is this a known issue? |
Hm Javadoc |
...bws.builder/src/main/java/org/eclipse/persistence/tools/dbws/XmlEntityMappingsGenerator.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Will Dazey <[email protected]>
Signed-off-by: Will Dazey <[email protected]>
It's written the same way in |
This pull request fixes 36 alerts when merging 1c8790a into 85e3491 - view on LGTM.com fixed alerts:
|
for #1504