Skip to content
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

Fix for Jakarta data issue #2183 #2222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ajaypaul-ibm
Copy link
Contributor

This PR contains the workaround for #2183.(Jakarta Data issue )
This will work if update query is structured like :

  • UPDATE Coordinate SET x = :newX, y = y / :yDivisor WHERE id = :id (Here we have 2 parameters x and y in SET clause and also we have a "id" in the WHERE clause)

  • UPDATE Coordinate SET x = :newX, y = y / :yDivisor (This solution will work even if WHERE clause is not there)

  • UPDATE Coordinate SET x = :newX, (This solution will work for simple update queries )

Please note : This is not a general solution for all types of update queries. This will work only for the type of Jakarta update queries which are mentioned above.

@OndroMih
Copy link
Contributor

OndroMih commented Aug 3, 2024

I believe that #2183 is already fixed in master branch by #2218. Please try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants