Skip to content

Deprecate Hibernate 3 support [SPR-13230] #17821

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

Closed
spring-projects-issues opened this issue Jul 14, 2015 · 2 comments
Closed

Deprecate Hibernate 3 support [SPR-13230] #17821

spring-projects-issues opened this issue Jul 14, 2015 · 2 comments
Assignees
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: task A general task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jul 14, 2015

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

@spring-projects-issues
Copy link
Collaborator Author

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

@spring-projects-issues
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants