Add support for in_clause_parameter_padding when using multiLoad
Description
Activity
Show:

Christian Beikov July 11, 2024 at 10:45 AM
This was fixed as part of https://github.com/hibernate/hibernate-orm/commit/9c9a326ae6b2ce0ca74e35ebe3bcf29db32e2b75
While the
hibernate.query.in_clause_parameter_padding
optimization works fine for JPQL and Criteria API, if we use amultiLoad
request:Hibernate will still use 3 arguments instead of the closest upper power-of-two integer:
For more details, check out this article as well.
A replicating test case is available in my High-Performance Java Persistence GitHub repository.