update docs to refer to hibernate-processor module

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-05-07 20:34:59 +02:00 committed by Steve Ebersole
parent 5c50099ea1
commit 15796fd751
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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]
====