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

Hibernate

1.3K
1K
+ 1
25
Sequelize

650
1.3K
+ 1
123
Add tool

Hibernate vs Sequelize: 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; Sequelize: Easy-to-use multi sql dialect ORM for Node.js & io.js. 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.

Hibernate and Sequelize can be categorized as "Object Relational Mapper (ORM)" tools.

"Easy ORM" is the primary reason why developers consider Hibernate over the competitors, whereas "Good ORM for node.js" was stated as the key factor in picking Sequelize.

Sequelize is an open source tool with 18.9K GitHub stars and 2.99K GitHub forks. Here's a link to Sequelize's open source repository on GitHub.

Bodybuilding.com, StyleShare Inc., and Peewah are some of the popular companies that use Hibernate, whereas Sequelize is used by WebbyLab, Hostr, and Decision6. Hibernate has a broader approval, being mentioned in 85 company stacks & 72 developers stacks; compared to Sequelize, which is listed in 38 company stacks and 33 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Hibernate
Pros of Sequelize
  • 17
    Easy ORM
  • 7
    Easy transaction definition
  • 1
    Is integrated with spring jpa
  • 36
    Good ORM for node.js
  • 26
    Easy setup
  • 16
    Support MySQL & MariaDB, PostgreSQL, MSSQL, Sqlite
  • 13
    Open source
  • 12
    Free
  • 11
    Promise Based
  • 4
    Recommend for mongoose users
  • 3
    Atrocious documentation, buggy, issues closed by bots
  • 2
    Typescript

Sign up to add or upvote prosMake informed product decisions

Cons of Hibernate
Cons of Sequelize
  • 3
    Can't control proxy associations when entity graph used
  • 28
    Docs are awful
  • 8
    Relations can be confusing

Sign up to add or upvote consMake informed product decisions

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

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

Jobs that mention Hibernate and Sequelize as a desired skillset
CBRE
United States of America Massachusetts Boston
What companies use Hibernate?
What companies use Sequelize?
See which teams inside your own company are using Hibernate or Sequelize.
Sign up for StackShare EnterpriseLearn More

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

What tools integrate with Hibernate?
What tools integrate with Sequelize?

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

Blog Posts

What are some alternatives to Hibernate and Sequelize?
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.
Entity Framework
It is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.
SQLAlchemy
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
Entity Framework Core
It is a lightweight, extensible, open source and cross-platform version of the popular Entity Framework data access technology. It can serve as an object-relational mapper (O/RM), enabling .NET developers to work with a database using .NET objects, and eliminating the need for most of the data-access code they usually need to write.
See all alternatives