BookmarkResource: Use JPA metamodel for type-safe Criteria queries.
Change-Id: I7571a749275d733c9738eed01dad9fb2de7d77ba
diff --git a/build.gradle b/build.gradle
index f2ee661..423604f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -77,6 +77,8 @@
implementation "com.vladsch.flexmark:flexmark-all"
implementation "org.jsoup:jsoup"
+ annotationProcessor "org.hibernate:hibernate-jpamodelgen"
+
constraints {
implementation "com.vladmihalcea:hibernate-types-52:${hibernateTypesVersion}"
implementation "org.mapstruct:mapstruct:${mapstructVersion}"
@@ -88,6 +90,7 @@
implementation "com.vladsch.flexmark:flexmark-all:${flexmarkVersion}"
implementation "org.jsoup:jsoup:${jsoupVersion}"
implementation "com.rometools:rome:${romeVersion}"
+ annotationProcessor "org.hibernate:hibernate-jpamodelgen:${hibernateVersion}"
}
}