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

HHH-7252 - AbstractEntityManagerImpl not properly mapping lock-releated exceptions in find() method. #315

Closed
wants to merge 1 commit into from

Conversation

bvarner
Copy link
Contributor

@bvarner bvarner commented Apr 17, 2012

The code was a bit non-obvious (assignment in a method call argument) where it was being done, and the local variable (lockOptions) assignment was missing in the find() method implementation.
I changed all instances of lockOptions assignment to assign before the method call where it's required as an argument, ensuring proper scope for exception mapping.

The code was a bit non-obvious (assignment in a method call argument) where it was being done, and the local variable (lockOptions) assignment was missing in the find() method implementation.
I changed all instances of lockOptions assignment to assign before the method call where it's required as an argument, ensuring proper scope for exception mapping.
@bvarner
Copy link
Contributor Author

bvarner commented Apr 18, 2012

Closing this pull request, pending a test case.

Creating the test case has exposed that the situation with HHH-7251 exists for more Dialects than just PostgreSQL...

@bvarner bvarner closed this Apr 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant