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:

In this post, I’m going to explain why this issue was causing performance issues, and how it got fixed.

Continue reading “The performance penalty of Class.forName when parsing JPQL and Criteria queries”