HHH-17460 - Ongoing JPA 32 work
This commit is contained in:
parent
24cc02487d
commit
5081da636c
|
@ -29,17 +29,14 @@ earlier versions, see any other pertinent migration guides as well.
|
||||||
But that is a bytecode incompatibility.
|
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
|
** 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.
|
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-validation]]
|
||||||
== Annotation Validations
|
== Annotation Validations
|
||||||
|
|
||||||
7.0 adds many more checks about illegal use of annotations.
|
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
|
=== PersistentAttributeType
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue