HHH-18593 - Enforce GeneratedValue GenerationType
This commit is contained in:
parent
4b6822a8bc
commit
792b4fc812
|
@ -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]]
|
[[java-beans]]
|
||||||
=== JavaBean Conventions
|
=== JavaBean Conventions
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue