Skip to content

Commit 792b4fc

Browse files
committed
HHH-18593 - Enforce GeneratedValue GenerationType
1 parent 4b6822a commit 792b4fc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

migration-guide.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@ class Book {
103103
}
104104
----
105105

106+
[[id-generators]]
107+
=== Identifier Generators
108+
109+
Starting in 7.0 it is no longer valid to combine `GenerationType#SEQUENCE` with anything other than
110+
`@SequenceGenerator` nor `GenerationType#TABLE` with anything other than `@TableGenerator`. Previous
111+
versions did not validate this particularly well.
112+
113+
106114
[[java-beans]]
107115
=== JavaBean Conventions
108116

0 commit comments

Comments
 (0)