Skip to content

Conversation

@DavideD
Copy link
Member

@DavideD DavideD commented Nov 26, 2025

Backport #2768 (PR #2793) to 3.2

For now we use it only when the connection is used
This commit:

* Stop connection leaks in BlockingIdentifierGenerator
* Assert that the connection is used in the expected context
Now we test with and without transactions.
And the test will throw an exception if context and connections
aren't handled correctly.
@DavideD DavideD added this to the 3.2.0.CR1 milestone Nov 26, 2025
@DavideD DavideD linked an issue Nov 26, 2025 that may be closed by this pull request
@DavideD DavideD merged commit 27d3a45 into hibernate:3.2 Nov 27, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A connection can be opened in the wrong Context

1 participant