Skip to content

Commit

Permalink
HHH-17460 - Ongoing JPA 32 work
Browse files Browse the repository at this point in the history
  • Loading branch information
sebersole committed Mar 29, 2024
1 parent bd46604 commit 840f63c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions migration-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 840f63c

Please sign in to comment.