@@ -1695,8 +1695,8 @@ section of the Hibernate Validator guide for more details.
16951695== Static metamodel and Jakarta Data
16961696
16971697Both static metamodel and Jakarta Data capabilities of Hibernate ORM are available in Quarkus
1698- through the `hibernate-jpamodelgen ` annotation processor. Since it is an annotation processor,
1699- you must configure the annotation processor in your build tool:
1698+ through the `hibernate-processor ` annotation processor. Since it is an annotation processor,
1699+ you must configure it accordingly in your build tool:
17001700
17011701[source,xml,role="primary asciidoc-tabs-target-sync-cli asciidoc-tabs-target-sync-maven"]
17021702.pom.xml
@@ -1707,11 +1707,14 @@ you must configure the annotation processor in your build tool:
17071707 <annotationProcessorPaths>
17081708 <path>
17091709 <groupId>org.hibernate.orm</groupId>
1710- <artifactId>hibernate-jpamodelgen </artifactId>
1710+ <artifactId>hibernate-processor </artifactId>
17111711 <!-- Note, no artifact version is required, it's managed by Quarkus. -->
17121712 </path>
17131713 <!-- other processors that may be required by your app -->
17141714 </annotationProcessorPaths>
1715+ <annotationProcessors>
1716+ <annotationProcessor>org.hibernate.processor.HibernateProcessor</annotationProcessor>
1717+ </annotationProcessors>
17151718 <!-- Other compiler plugin configuration options -->
17161719 </configuration>
17171720</plugin>
@@ -1721,9 +1724,9 @@ you must configure the annotation processor in your build tool:
17211724.build.gradle
17221725----
17231726// Enforce the version management of your annotation processor dependencies,
1724- // so that there's no need to define an explicit version of the hibernate-jpamodelgen
1727+ // so that there's no need to define an explicit version of the hibernate-processor
17251728annotationProcessor enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
1726- annotationProcessor 'org.hibernate.orm:hibernate-jpamodelgen '
1729+ annotationProcessor 'org.hibernate.orm:hibernate-processor '
17271730----
17281731
17291732=== Static metamodel
@@ -1760,7 +1763,7 @@ For a more detailed overview of static metamodel, please refer to the link:{jaka
17601763
17611764=== Jakarta Data
17621765
1763- Jakarta Data requires, besides having the `hibernate-jpamodelgen ` annotation processor in place, one extra dependency to be added:
1766+ Jakarta Data requires, besides having the `hibernate-processor ` annotation processor in place, one extra dependency to be added:
17641767
17651768[source,xml,role="primary asciidoc-tabs-target-sync-cli asciidoc-tabs-target-sync-maven"]
17661769.pom.xml
0 commit comments