Hibernate
Hibernate

854
686
+ 1
17
Spring
Spring

2.6K
2.6K
+ 1
998
Add tool

Hibernate vs Spring: What are the differences?

Developers describe Hibernate as "Idiomatic persistence for Java and relational databases". Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper. On the other hand, Spring is detailed as "Provides a comprehensive programming and configuration model for modern Java-based enterprise applications". A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

Hibernate and Spring are primarily classified as "Object Relational Mapper (ORM)" and "Frameworks (Full Stack)" tools respectively.

"Easy ORM" is the top reason why over 9 developers like Hibernate, while over 193 developers mention "Java" as the leading cause for choosing Spring.

Spring is an open source tool with 31.2K GitHub stars and 20.1K GitHub forks. Here's a link to Spring's open source repository on GitHub.

MIT, Zillow, and Intuit are some of the popular companies that use Spring, whereas Hibernate is used by Bodybuilding.com, Zola, and StyleShare Inc.. Spring has a broader approval, being mentioned in 441 company stacks & 1264 developers stacks; compared to Hibernate, which is listed in 133 company stacks and 405 developer stacks.

Advice on Hibernate and Spring
Asheesh Janghu
Asheesh Janghu
at Home ยท | 1 upvotes ยท 280 views
Needs advice
on
Spring BootSpring Boot
vs
SpringSpring
vs
Node.jsNode.js

Hi, I am new to backend development and trying to make a decision about whether I should choose Nodejs or Spring Boot for a backend developer role. I have done 5 years of Android development and find using Java much better than javascript. Please advise why one is better over others and which one is good for the long term, also please highlight the job opportunities for both.

See more
Pros of Hibernate
Pros of Spring

Sign up to add or upvote prosMake informed product decisions

Cons of Hibernate
Cons of Spring

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is Hibernate?

Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.

What is Spring?

A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.
What companies use Hibernate?
What companies use Spring?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Hibernate?
What tools integrate with Spring?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Hibernate and Spring?
MyBatis
It is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. It eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. It can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records.
Sequelize
Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
SQLAlchemy
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
Doctrine 2
Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL.
Entity Framework
It is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.
See all alternatives
Interest over time