Need advice about which tool to choose?Ask the StackShare community!

Hibernate

1.4K
1K
+ 1
25
Spring Data

548
356
+ 1
0
Add tool

Hibernate vs Spring Data: What are the differences?

What is Hibernate? 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.

What is Spring Data? Provides a consistent approach to data access – relational, non-relational, map-reduce, and beyond. It makes it easy to use data access technologies, relational and non-relational databases, map-reduce frameworks, and cloud-based data services. This is an umbrella project which contains many subprojects that are specific to a given database.

Hibernate belongs to "Object Relational Mapper (ORM)" category of the tech stack, while Spring Data can be primarily classified under "Database Tools".

Spring Data is an open source tool with 56 GitHub stars and 62 GitHub forks. Here's a link to Spring Data's open source repository on GitHub.

Bodybuilding.com, StyleShare Inc., and Zola are some of the popular companies that use Hibernate, whereas Spring Data is used by Monkey Exchange, Hocelot, and apside. Hibernate has a broader approval, being mentioned in 87 company stacks & 74 developers stacks; compared to Spring Data, which is listed in 10 company stacks and 10 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Hibernate
Pros of Spring Data
  • 17
    Easy ORM
  • 7
    Easy transaction definition
  • 1
    Is integrated with spring jpa
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of Hibernate
    Cons of Spring Data
    • 3
      Can't control proxy associations when entity graph used
      Be the first to leave a con

      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 Data?

      It makes it easy to use data access technologies, relational and non-relational databases, map-reduce frameworks, and cloud-based data services. This is an umbrella project which contains many subprojects that are specific to a given database.

      Need advice about which tool to choose?Ask the StackShare community!

      Jobs that mention Hibernate and Spring Data as a desired skillset
      CBRE
      United Kingdom of Great Britain and Northern Ireland England Croydon
      CBRE
      Netherlands Groningen Eemshaven
      CBRE
      United Kingdom of Great Britain and Northern Ireland England Basildon
      CBRE
      United Kingdom of Great Britain and Northern Ireland England London
      CBRE
      United States of America Nebraska Springfield
      CBRE
      United States of America Virginia Sandston
      CBRE
      Poland Mazowieckie Warsaw
      CBRE
      Netherlands Noord-Holland Amsterdam
      What companies use Hibernate?
      What companies use Spring Data?
      See which teams inside your own company are using Hibernate or Spring Data.
      Sign up for StackShare EnterpriseLearn More

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

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

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

      Blog Posts

      What are some alternatives to Hibernate and Spring Data?
      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.
      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.
      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.
      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.
      See all alternatives