Skip to content

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

Closed

Description

@spring-projects-issues

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:

Activity

  1. added
    in: data
    type: enhancement
    on Jan 11, 2019
  2. modified the milestones: 5.2 RC1, 5.x Backlog on Jan 28, 2019
  3. jhoeller commented on Jan 28, 2019

    @jhoeller
    Contributor

    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.

  4. modified the milestones: 5.x Backlog, 5.3 M1 on Dec 15, 2019
  5. modified the milestones: 6.0.0-M3, 6.0.0-M4 on Feb 4, 2022
  6. jhoeller commented on May 10, 2022

    @jhoeller
    Contributor

    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.

  7. modified the milestones: 6.0.0-M4, 6.0.x on May 10, 2022
  8. changed the title [-]Support for Hibernate ORM 6.0 [SPR-17596][/-] [+]Support for Hibernate ORM 6.0/6.1 [SPR-17596][/+] on Nov 21, 2022
  9. modified the milestones: 6.0.x, 6.0.0-RC1 on Nov 21, 2022
  10. jhoeller commented on Nov 21, 2022

    @jhoeller
    Contributor

    This is considered complete as of Spring Framework 6.0 RC1, as per the description above: support for Hibernate ORM 6.0/6.1 in a JPA setup, with org.springframework.orm.hibernate5 remaining in place for native Hibernate based code for the time being. Support for Hibernate 5.x is limited to Hibernate ORM 5.6.x with JPA as well as the native Hibernate API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: datatype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions