Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiOGQ2YjA3ZGZi...
) / Task (
https://hibernate.atlassian.net/browse/HHH-14143?atlOrigin=eyJpIjoiOGQ2Yj...
) HHH-14143 (
https://hibernate.atlassian.net/browse/HHH-14143?atlOrigin=eyJpIjoiOGQ2Yj...
) Detect illegal concurrent usage of LogicalConnectionManagedImpl (
https://hibernate.atlassian.net/browse/HHH-14143?atlOrigin=eyJpIjoiOGQ2Yj...
)
Issue Type: Task Assignee: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Components: hibernate-core Created: 10/Aug/2020 01:35 AM Fix Versions: 5.5.0.Beta1,
5.4.20 Priority: Minor Reporter: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Apparently some containers have integration code which could attempt to release the
resources managed by a LogicalConnectionManagedImpl concurrently.
While this is IMO a bug in either the integration code or the user's code, it triggers
an NPE in ORM which makes it a bit obscure. We can avoid the NPE with slightly more
defensive code, which I plan to introduce with this patch.
I still plan to throw an exception, just possibly hinting about the real cause.
(
https://hibernate.atlassian.net/browse/HHH-14143#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-14143#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100142- sha1:4ee995f )