Skip to content

Conversation

@peter1123581321
Copy link
Contributor

This bug was first reported in 2013 and is still reproducible in 7.x.
https://hibernate.atlassian.net/browse/HHH-8535

Setting next_val to null causes an infinite loop.
The bugfix introduces a HibernateException.

There was already a PR proposed in 2019 by @dyolcekaj, but closed in 2024 without any reason given.
#3073

My PR is a simplified version of the previous one.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


@gavinking
Copy link
Member

Nice, thanks!!

@gavinking gavinking merged commit 554ce4f into hibernate:main Jun 6, 2025
23 of 24 checks passed
@gavinking
Copy link
Member

Merged, thank you @peter1123581321, appreciated.

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