The explanation is here: https://github.com/hibernate/hibernate-orm/pull/4411#issuecomment-989304639 . As mentioned, we could introduce a configurable threshold, if there’s evidence of this being necessary. And if people ask nicely. Generally speaking, I would suggest that if your map is growing so much, it would be interesting to try to avoid the root cause. Are you generating many queries dynamicaly via string manipulation? Why are all these tokens different? Or are you able to trigger this in another way? |