From 15796fd7513ba41d98658e33e6550600390442e3 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Tue, 7 May 2024 20:34:59 +0200 Subject: [PATCH] update docs to refer to hibernate-processor module Signed-off-by: Gavin King --- .../src/main/asciidoc/repositories/Configuration.adoc | 4 ++-- .../src/main/asciidoc/repositories/Repositories.adoc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/src/main/asciidoc/repositories/Configuration.adoc b/documentation/src/main/asciidoc/repositories/Configuration.adoc index be16f061fe..89f0f0242b 100644 --- a/documentation/src/main/asciidoc/repositories/Configuration.adoc +++ b/documentation/src/main/asciidoc/repositories/Configuration.adoc @@ -18,7 +18,7 @@ We definitely need the following dependencies in our project: | `jakarta.data:jakarta.data-api` | The Jakarta Data API | `org.hibernate.orm:hibernate-core` | Hibernate ORM -| `org.hibernate.orm:hibernate-jpamodelgen` | The annotation processor itself +| `org.hibernate.orm:hibernate-processor` | The annotation processor itself |=== And we'll need to pick a JDBC driver: @@ -55,7 +55,7 @@ In Gradle, for example, you'll need to use `annotationProcessor`. [source,groovy] ---- -annotationProcessor 'org.hibernate.orm:hibernate-jpamodelgen:6.5.0' +annotationProcessor 'org.hibernate.orm:hibernate-processor:7.0.0' ---- === Excluding classes from processing diff --git a/documentation/src/main/asciidoc/repositories/Repositories.adoc b/documentation/src/main/asciidoc/repositories/Repositories.adoc index e323af7c80..85acf8bfdf 100644 --- a/documentation/src/main/asciidoc/repositories/Repositories.adoc +++ b/documentation/src/main/asciidoc/repositories/Repositories.adoc @@ -137,7 +137,7 @@ A _repository interface_ is an interface written by you, the application program The implementation of the repository interface is provided by a Jakarta Data provider, in our case, by Hibernate Data Repositories. The Jakarta Data specification does not say how this should work, but in Hibernate Data Repositories, the implementation is generated by an annotation processor. -In fact, you might already be using this annotation processor: it's just `HibernateProcessor` from the now-inaptly-named `hibernate-jpamodelgen` module. +In fact, you might already be using this annotation processor: it's just `HibernateProcessor` from the module which used to be called `hibernate-jpamodelgen`, and has now been renamed `hibernate-processor` in Hibernate 7. [TIP] ====