We’re currently upgrading our project with Spring Boot 3.5 with Hibernate 6.4 to Spring Boot 4.0 with Hibernate 7.2.
The performance is 5-10 times slower than before. The queries against the database itself are faster as before, but the time between the queries is increased. It looks like that hibernate spends much more time in object hydration as before. A query with 8.000 results tooks 700ms with Hibernate 6 and 9s with Hibernate 7.