Runtime compatibility with JPA 4.0 M7 and corresponding Hibernate 8.0 snapshots

Author: jhoellerCreated Sep 21, 2026Updated Sep 21, 2026
Labelsin: datatype: enhancement

Following up on #36784, we need to support several new callbacks on PersistenceUnitInfo for runtime compatibility with JPA 4.0 M7 and the latest Hibernate 8.0 snapshots.

For 7.0.10, it should be sufficient to just provide behavior equivalent to JPA 3.2 / Hibernate 7.x which allows for running existing Spring Framework 7.0.x setups against Hibernate 8.0 at runtime. We'll track dedicated package and module descriptor support for JPA 4.0 in a separate issue for 7.1.

https://github.com/spring-projects/spring-framework/issues/36784#issuecomment-5751847285

Source: spring-projects/spring-framework