Get Advice Icon

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

Hibernate
Hibernate

633
435
+ 1
16
Java Persistence API
Java Persistence API

44
28
+ 1
0
Add tool

Hibernate vs Java Persistence API: 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, Java Persistence API is detailed as "*A Java application programming interface specification *". It is a Java application programming interface specification that describes the management of relational data in applications using Java Platform, Standard Edition and Java Platform, Enterprise Edition.It provides a POJO persistence model for object-relational mapping.

Hibernate can be classified as a tool in the "Object Relational Mapper (ORM)" category, while Java Persistence API is grouped under "Mapping APIs".

Bodybuilding.com, StyleShare Inc., and Zola are some of the popular companies that use Hibernate, whereas Java Persistence API is used by StyleShare Inc., Kwery, and engel80. Hibernate has a broader approval, being mentioned in 87 company stacks & 74 developers stacks; compared to Java Persistence API, which is listed in 6 company stacks and 4 developer stacks.

- No public GitHub repository available -
- 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 Java Persistence API?

It is a Java application programming interface specification that describes the management of relational data in applications using Java Platform, Standard Edition and Java Platform, Enterprise Edition.It provides a POJO persistence model for object-relational mapping.
Get Advice Icon

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

Why do developers choose Hibernate?
Why do developers choose Java Persistence API?
    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 Java Persistence API?

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

        What tools integrate with Hibernate?
        What tools integrate with Java Persistence API?

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

        What are some alternatives to Hibernate and Java Persistence API?
        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 Java Persistence API
        No stack decisions found
        Interest over time
        Reviews of Hibernate and Java Persistence API
        No reviews found
        How developers use Hibernate and Java Persistence API
        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 Java Persistence API cost?
        Pricing unavailable
        Pricing unavailable
        News about Java Persistence API
        More news