The performance penalty of Class.forName when parsing JPQL and Criteria queries

Introduction While reviewing this Hibernate Pull Request, I stumbled on the HHH-10746 Jira issue. After doing some research, I realized that this issue was reported multiple times in the past 10 years: HHH-1810 HHH-4959 HHH-11246 In this post, I’m going to explain why this issue was causing performance issues, and how it got fixed.

Black Friday 50% off the High-Performance Java, Spring, and SQL course bundle: 24 hours of video lessons Ends in Get the Bundle

Black Friday

Seize the deal! 50% off my video courses

This offer expires in:
Java Persistence Video Course Save 50% Buy Now SQL Video Course Save 50% Buy Now Spring Persistence Video Course Save 50% Buy Now

The BLACKFRIDAY26 coupon is applied automatically at checkout.