HHH-17460 - Ongoing JPA 32 work

This commit is contained in:
Steve Ebersole 2024-03-29 11:50:45 -05:00
parent 24cc02487d
commit 5081da636c
1 changed files with 2 additions and 5 deletions

View File

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