diff --git a/migration-guide.adoc b/migration-guide.adoc index bf2356fb7c..1d9c08e3d1 100644 --- a/migration-guide.adoc +++ b/migration-guide.adoc @@ -29,17 +29,14 @@ earlier versions, see any other pertinent migration guides as well. But that is a bytecode incompatibility. ** JPA has added support in its Graph API for things Hibernate has supported for some time. Some of those are collisions requiring changes to the Hibernate API. + ** `Transaction#getTimeout`. JPA 3.2 adds `#getTimeout` but uses `Integer` whereas Hibernate has historically used `int` + [[annotation-validation]] == Annotation Validations 7.0 adds many more checks about illegal use of annotations. -=== Access - -The Jakarta Persistence specification says that it is illegal to specify `@Access(FIELD)` on a property (getter) -or to use `@Access(PROPERTY)` on a field. As of 7.0, Hibernate now throws an exception when this condition is -discovered. === PersistentAttributeType