Skip to content

Deprecate Hibernate 3 support [SPR-13230] #17821

Closed

Description

@spring-projects-issues

Juergen Hoeller opened SPR-13230 and commented

After the introduction of Hibernate 5 support in Spring 4.2, we should officially deprecate our orm.hibernate3 package in Spring 4.3.


Issue Links:

Referenced from: commits e909422, 2cfe00c

Activity

  1. spring-projects-issues commented on Dec 18, 2015

    @spring-projects-issues
    CollaboratorAuthor

    Alex commented

    The hibernate team has already deprecated hibernate 4.x: http://in.relation.to/2015/10/27/great-jira-cleanup-2015/

    "Now that ORM 5.0 has gone final, we need to focus our development efforts on 5.0 and beyond.
    http://github.com/hibernate/hibernate-orm/wiki/Huge-Project,-Small-Team discusses why we do this.
    Put simply, versions prior to 5.x are no longer maintained and bug reports which do not affect 5.0 are outside that focus."
    

    So the default hibernate version should be 5.x, and you should deprecate also 4.x together with 3.x

  2. spring-projects-issues commented on Dec 18, 2015

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    Formally deprecating Hibernate 4.x support for Spring 4.3 is a tough one, since the current JBoss EAP 6.4 still includes Hibernate ORM 4.2.x - which is a reason why they have to keep maintaining it... maybe not the core Hibernate team but somebody at Red Hat, since JBoss EAP 6 will enjoy continued commercial support for many years to come.

    There was never declared production support for Hibernate ORM 4.3.x, so that's an easier one to let go on their side. That doesn't buy us much though since we can't just let 4.3.x go. From that perspective, we'll have to keep our orm.hibernate4 package up for the time being, simply dropping it without deprecation as of Spring Framework 5.0.

    Juergen

  3. added
    in: data
    type: task
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: datatype: task

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions