HHH-18593 - Enforce GeneratedValue GenerationType

This commit is contained in:
Steve Ebersole 2024-09-13 12:07:34 -05:00
parent 4b6822a8bc
commit 792b4fc812
1 changed files with 8 additions and 0 deletions

View File

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