using Hibernate 5.2.16, I’m encountering an assertion error in org.hibernate.engine.internal.BatchFetchQueueHelper#removeNotFoundBatchLoadableEntityKeys
Providing a test case will be quite tricky. But I’ve just found out that this only happens when AvailableSettings.DEFAULT_BATCH_FETCH_SIZE is set. Not using batch fetches does not cause this issue.
The difference is now that bootstrapping fails, before the issue occured after the bootstrapping process. But anyhow, a test case exists for this one, so this can be further investigated now.
Hi, i have the same problems, at least in one case I could solve it by changing an Fetch.EAGER with implicit JOIN to an Fetch.EAGER with explicit FetchMode.SELECT, which looks like an cartesian product problem to me.
Problem Version: 5.2.17.Final
No Problem before with 5.2.1.Final
I retested Versions, Problems start with 5.2.10.Final, before that I do not have this error.
Using Hibernate 5.3.2, I’m again encountering the original error message when “hibernate.default_batch_fetch_size” is set with bytecode enhanced entities. I will try to provide a test case ASAP.