mention GenericGenerator deprecation in migration guide

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-04-25 14:53:55 +02:00
parent b5b40f272a
commit 816d1e15f4
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,10 @@ explicit settings for this configuration. At a minimum this includes:
* `hibernate.dialect` or `jakarta.persistence.database-product-name` to indicate the type of database
* `jakarta.persistence.database-product-version` to indicate the database version
[[generic-generator]]
== Deprecation of `@GenericGenerator`
The `@GenericGenerator` annotation was deprecated, in favor of the much more typesafe approach provided by `@IdGeneratorType` which was first introduced in 6.0.
[[query-result-validation]]
== Validation of Query Result Type