Get Advice Icon

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

Hibernate
Hibernate

629
432
+ 1
16
Liquibase
Liquibase

99
93
+ 1
33
Add tool

Hibernate vs Liquibase: What are the differences?

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; Liquibase: Source control for your database. Developers store database changes in text-based files on their local development machines and apply them to their local databases. Changelog files can be be arbitrarily nested for better management.

Hibernate and Liquibase are primarily classified as "Object Relational Mapper (ORM)" and "Database" tools respectively.

"Easy ORM" is the top reason why over 9 developers like Hibernate, while over 12 developers mention "Great database tool" as the leading cause for choosing Liquibase.

Liquibase is an open source tool with 1.78K GitHub stars and 1.08K GitHub forks. Here's a link to Liquibase's open source repository on GitHub.

According to the StackShare community, Hibernate has a broader approval, being mentioned in 85 company stacks & 72 developers stacks; compared to Liquibase, which is listed in 15 company stacks and 12 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 Liquibase?

Developers store database changes in text-based files on their local development machines and apply them to their local databases. Changelog files can be be arbitrarily nested for better management.
Get Advice Icon

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

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

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

    What tools integrate with Hibernate?
    What tools integrate with Liquibase?
      No integrations found

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

      What are some alternatives to Hibernate and Liquibase?
      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 Liquibase
      Miguel Suarez
      Miguel Suarez
      Lead Developer ยท | 8 upvotes ยท 64K views
      atJobsrepublicJobsrepublic
      PostgreSQL
      PostgreSQL
      Liquibase
      Liquibase
      Flyway
      Flyway
      #Backwards-compatible
      #Migration

      Flyway vs Liquibase #Migration #Backwards-compatible

      We were looking for a tool to help us integrating the migration scripts as part of our Deployment. At first sight both tools look very alike, are well integrated with Spring, have a fairly frequent development activity and short release cycles.

      Liquibase puts a lot of emphasis on independence with the DB, allowing you to create the scripts on formats like JSON and YML, abstracting away from SQL, which it's also supported. Since we only work with one DB type across services we wouldn't take much advantage of this feature.

      Flyway on the other hand has the advantage on being actively working on the integration with PostgreSQL 11, for it's upcoming version 6. Provides a more extensive set of properties that allow us to define what's allowed on what's not on each different environment.

      Instead of looking for a tool that will allow us to rollback our DB changes automatically, we decided to implement backwards-compatible DB changes, for example adding a new column instead of renaming an existing one, postponing the deletion of the deprecated column until the release has been successfully installed.

      See more
      Interest over time
      Reviews of Hibernate and Liquibase
      No reviews found
      How developers use Hibernate and Liquibase
      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 Liquibase cost?
      Pricing unavailable
      Pricing unavailable
      News about Liquibase
      More news