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

Flyway

267
539
+ 1
33
Hibernate

1.7K
1.1K
+ 1
30
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.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Flyway
Pros of Hibernate
  • 13
    Superb tool, easy to configure and use
  • 9
    Very easy to config, great support on plain sql scripts
  • 6
    Is fantastic and easy to install even with complex DB
  • 4
    Simple and intuitive
  • 1
    Easy tool to implement incremental migration
  • 21
    Easy ORM
  • 7
    Easy transaction definition
  • 2
    Is integrated with spring jpa

Sign up to add or upvote prosMake informed product decisions

Cons of Flyway
Cons of Hibernate
  • 3
    "Undo Migrations" requires pro version, very expensive
  • 3
    Can't control proxy associations when entity graph used

Sign up to add or upvote consMake informed product decisions

- 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.

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

What companies use Flyway?
What companies use Hibernate?
See which teams inside your own company are using Flyway or Hibernate.
Sign up for StackShare EnterpriseLearn More

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

Blog Posts

What are some alternatives to Flyway and Hibernate?
Liquibase
Liquibase is th leading open-source tool for database schema change management. Liquibase helps teams track, version, and deploy database schema and logic changes so they can automate their database code process with their app code process.
Switch
Ring your mobile phone, computer, and desk phone at the same time. Answer calls and switch seamlessly between devices. Use your personal device with a business phone number so you're always reachable.
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.
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.
Dataform
Dataform helps you manage all data processes in your cloud data warehouse. Publish tables, write data tests and automate complex SQL workflows in a few minutes, so you can spend more time on analytics and less time managing infrastructure.
See all alternatives