Get Advice Icon

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

Flyway
Flyway

114
89
+ 1
18
Hibernate
Hibernate

608
421
+ 1
16
Add tool

Flyway vs Hibernate: What are the differences?

Flyway: Database Migrations Made Easy. Easy to setup, simple to master. Flyway lets you regain control of your database migrations with pleasure and plain sql. Solves only one problem and solves it well. Flyway migrates your database, so you don't have to worry about it anymore; 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.

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

"Superb tool, easy to configure and use" is the top reason why over 6 developers like Flyway, while over 9 developers mention "Easy ORM" as the leading cause for choosing Hibernate.

Flyway is an open source tool with 4.2K GitHub stars and 915 GitHub forks. Here's a link to Flyway's open source repository on GitHub.

Bodybuilding.com, StyleShare Inc., and Zola are some of the popular companies that use Hibernate, whereas Flyway is used by JustWatch, Red Panda Platform, and Picnic Technologies. Hibernate has a broader approval, being mentioned in 87 company stacks & 74 developers stacks; compared to Flyway, which is listed in 15 company stacks and 19 developer stacks.

- No public GitHub repository available -

What is Flyway?

It lets you regain control of your database migrations with pleasure and plain sql. Solves only one problem and solves it well. It migrates your database, so you don't have to worry about it anymore.

What is Hibernate?

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

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

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

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

    What tools integrate with Flyway?
    What tools integrate with Hibernate?

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

    What are some alternatives to Flyway and Hibernate?
    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.
    Slick
    It is a modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred.
    Sequel Pro
    Sequel Pro is a fast, easy-to-use Mac database management application for working with MySQL databases.
    PostGIS
    PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.
    Open PostgreSQL Monitoring
    Open PostgreSQL Monitoring is a free software designed to help you manage your PostgreSQL servers.
    See all alternatives
    Decisions about Flyway and Hibernate
    Miguel Suarez
    Miguel Suarez
    Lead Developer · | 7 upvotes · 46.1K 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 Flyway and Hibernate
    Review ofFlywayFlyway

    it works with complex SQL script and it is very high customizable.

    How developers use Flyway and Hibernate
    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 Flyway cost?
    How much does Hibernate cost?
    Pricing unavailable
    News about Flyway
    More news