Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Hibernate ORM 6.0 [SPR-17596] #22128

Open
spring-projects-issues opened this issue Dec 12, 2018 · 2 comments
Open

Support for Hibernate ORM 6.0 [SPR-17596] #22128

spring-projects-issues opened this issue Dec 12, 2018 · 2 comments
Assignees
Labels
in: data type: dependency-upgrade type: enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Dec 12, 2018

Juergen Hoeller opened SPR-17596 and commented

Hibernate ORM 6.0 alpha 1 was recently released (in December 2018). Let's introduce a org.springframework.orm.hibernate6 support package in the Spring Framework 5.2 timeframe, in parallel to our existing Hibernate ORM 5.x support.


Issue Links:

  • #22049 Upgrade to Hibernate ORM 5.4
@spring-projects-issues spring-projects-issues added in: data type: enhancement labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.2 RC1 milestone Jan 11, 2019
@jhoeller jhoeller removed this from the 5.2 RC1 milestone Jan 28, 2019
@jhoeller jhoeller added this to the 5.x Backlog milestone Jan 28, 2019
@jhoeller
Copy link
Contributor

@jhoeller jhoeller commented Jan 28, 2019

At this point, it looks like Hibernate ORM 6.0 won't be final in time for our 5.2 GA timeframe in June. While we're going to make sure that Spring's JPA support works fine against Hibernate ORM 6.0 pre-releases, a dedicated org.springframework.orm.hibernate6 package is probably better off in our next feature release.

@jhoeller jhoeller removed this from the 5.x Backlog milestone Dec 15, 2019
@jhoeller jhoeller added this to the 5.3 M1 milestone Dec 15, 2019
@jhoeller jhoeller removed this from the 5.3 M1 milestone Feb 24, 2020
@jhoeller jhoeller added this to the General Backlog milestone Feb 24, 2020
@jhoeller jhoeller removed this from the General Backlog milestone Jan 28, 2022
@jhoeller jhoeller added this to the 6.0.0-M3 milestone Jan 28, 2022
@jhoeller jhoeller added the type: dependency-upgrade label Jan 28, 2022
@jhoeller jhoeller removed this from the 6.0.0-M3 milestone Feb 4, 2022
@jhoeller jhoeller added this to the 6.0.0-M4 milestone Feb 4, 2022
@jhoeller
Copy link
Contributor

@jhoeller jhoeller commented May 10, 2022

On review, HibernateTemplate does not seem feasible to sustain anymore against Hibernate 6.0 since plenty of underlying API has changed or even been removed. We meant to phase out HibernateTemplate before, so this seems to be the definitive time for it. We can keep the Hibernate 5.x variant of HibernateTemplate around but won't introduce a dedicated 6.0 variant.

For all common purposes, our JPA support seems to be compatible with Hibernate 6.0 since #28007. From that perspective, there isn't much need for dedicated support for native Hibernate APIs from Spring's side. That said, let's keep this general support ticket open for the time being, to be revisited towards Spring Framework 6.0 GA for a final decision.

@jhoeller jhoeller removed this from the 6.0.0-M4 milestone May 10, 2022
@jhoeller jhoeller added this to the 6.0.x milestone May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data type: dependency-upgrade type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants