Using property "hibernate.default_batch_fetch_size" crashes bootstrapping

Description

See this forum post for context: https://discourse.hibernate.org/t/assertion-error-in-org-hibernate-engine-internal-batchfetchqueuehelper/477 .

Using attached test case, bootstrapping with "hibernate.default_batch_fetch_size" fails:

Works fine without setting this property.

Test case: https://github.com/nikowitt/hibernate-test-case-templates/tree/HHH-12594

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Niko Wittenbeck

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

Priority

Critical
Configure