From 5081da636c6401f7ee1f9a80cd8e099b092e045a Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Fri, 29 Mar 2024 11:50:45 -0500 Subject: [PATCH] HHH-17460 - Ongoing JPA 32 work --- migration-guide.adoc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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