Get Advice Icon

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

Hibernate
Hibernate

632
434
+ 1
16
Spring Data
Spring Data

86
49
+ 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.

- 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.
Get Advice Icon

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

Why do developers choose Hibernate?
Why do developers choose Spring Data?
    Be the first to leave a pro
      Be the first to leave a con
        Be the first to leave a con
        What companies use Hibernate?
        What companies use Spring Data?

        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

        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.
        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.
        See all alternatives
        Decisions about Hibernate and Spring Data
        No stack decisions found
        Interest over time
        Reviews of Hibernate and Spring Data
        No reviews found
        How developers use Hibernate and Spring Data
        Avatar of Kang Hyeon Ku
        Kang Hyeon Ku uses HibernateHibernate

        Mybatis ๋กœ ์ฟผ๋ฆฌ๋ฅผ ๋งŒ๋“ค๊ณ  ์กฐ๊ฑด๋ถ„ ๋ถ„๊ธฐ์‹ for ๋ฌธ์„ ์ฟผ๋ฆฌ์— ๋‹ฌ์•„ ๋”์ด์ƒ ์ฟผ๋ฆฌ๋ฅผ ์•Œ์•„ ๋ณผ ์ˆ˜ ์—†๊ฒŒ ๋˜์—ˆ์„๋•Œ ์ด๊ฒŒ ์˜๋งˆ๊ฐ€ ์žˆ๋‚˜ ์‹ถ์—ˆ๋‹ค. ๊ทธ ๋•Œ ํ•œ๋ฒˆ orm ์„ ์จ๋ณด๋ฉด ์–ด๋–จ๊นŒ ์‹ถ์–ด ์ตœ๊ทผ์— ๋ฐฐ์šฐ๊ธฐ ์‹œ์ž‘ํ•œ orm ์ด๋‹ค. ์ •๋ง ํŽธํ•˜๊ฒŒ ๊ฐœ๋ฐœ์„ ํ•  ์ˆ˜ ์žˆ๋Š”๋ฐ ์ผ์กฐํ•˜๊ณ  ์žˆ๋‹ค. ๋‹ค๋งŒ ๊ฒฐ๊ตญ์— ์ฟผ๋ฆฌ๋ฅผ ๋‚ ๋ ค ๋งตํ•‘์„ ํ•˜๋Š”๋ฐ, ์ฟผ๋ฆฌ๋ฅผ ์ž˜ ๋ชจ๋ฅด๊ฑฐ๋‚˜ ๊ทธ์— ๋Œ€ํ•œ ์ง€์‹ ์—†์ด ์“ฐ๋‹ค๊ฐ€๋Š” ๋งํ•˜๊ฒ ๊ตฌ๋‚˜ ํ•˜๋Š” ์ƒ๊ฐ์ด ๋งŽ์ด ๋“ค์—ˆ๋‹ค.

        Avatar of Analytical Informatics
        Analytical Informatics uses HibernateHibernate

        We use a Clojure-powered wrapper around Hibernate to provide an ORM access to our data store for applications, as well as offering SSO integration and HIPAA logging functionality.

        Avatar of Tongliang Liu
        Tongliang Liu uses HibernateHibernate

        Can't escape from when you're on the Java stack and deal with relational db.

        Avatar of Satoru Ishikawa
        Satoru Ishikawa uses HibernateHibernate

        Strut ใ‚„ Spring ใชใฉ Java web app flame work ใงใฎ Object Relation Mapperใจใ—ใฆ

        Avatar of icarus-dave
        icarus-dave uses HibernateHibernate

        Persistence layer for backend data; maps entities to the database.

        How much does Hibernate cost?
        How much does Spring Data cost?
        Pricing unavailable
        Pricing unavailable
        News about Spring Data
        More news