From 5466fcb9c84faa08ccc51c68f92143d378bc4bb3 Mon Sep 17 00:00:00 2001 From: Fabio Heer Date: Fri, 15 Nov 2019 14:27:39 +0100 Subject: [PATCH] add hibernate-jpamodelgen to bom To generate the static metamodel, e.g. for criteria queries, the hibernate-jpamodelgen dependency must be added to the classpath. Adding the dependency in the dependency management section of the bom makes it easier to keep the versions of hibernate and the metamodel generator in sync. --- bom/runtime/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bom/runtime/pom.xml b/bom/runtime/pom.xml index 7a6d514cf..1c984d6f2 100644 --- a/bom/runtime/pom.xml +++ b/bom/runtime/pom.xml @@ -1810,6 +1810,11 @@ hibernate-envers ${hibernate-orm.version} + + org.hibernate + hibernate-jpamodelgen + ${hibernate-orm.version} + org.hibernate quarkus-local-cache