JPA Criteria Metamodel Generation and Usage Guide

Introduction In this article, I’m going to show you how to generate the JPA Metamodel using Hibernate, and how you can use it to write typesafe Criteria API queries.