From 792b4fc81217e26c20059d86d7f7851ec1a87dbf Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Fri, 13 Sep 2024 12:07:34 -0500 Subject: [PATCH] HHH-18593 - Enforce GeneratedValue GenerationType --- migration-guide.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/migration-guide.adoc b/migration-guide.adoc index b06f3b76b5..6369375f81 100644 --- a/migration-guide.adoc +++ b/migration-guide.adoc @@ -103,6 +103,14 @@ class Book { } ---- +[[id-generators]] +=== Identifier Generators + +Starting in 7.0 it is no longer valid to combine `GenerationType#SEQUENCE` with anything other than +`@SequenceGenerator` nor `GenerationType#TABLE` with anything other than `@TableGenerator`. Previous +versions did not validate this particularly well. + + [[java-beans]] === JavaBean Conventions