From 840f63ccda57cef16fb511b5cf64179bcf2fbac8 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 bf2356fb7c3a..1d9c08e3d15a 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