Get Advice Icon

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

Doctrine 2

278
207
+ 1
31
Hibernate

1.5K
1.2K
+ 1
34
Sequelize

886
1.4K
+ 1
143
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Doctrine 2
Pros of Hibernate
Pros of Sequelize
  • 14
    Great abstraction, easy to use, good docs
  • 10
    Object-Oriented
  • 7
    Easy setup
  • 22
    Easy ORM
  • 8
    Easy transaction definition
  • 3
    Is integrated with spring jpa
  • 1
    Open Source
  • 42
    Good ORM for node.js
  • 31
    Easy setup
  • 21
    Support MySQL & MariaDB, PostgreSQL, MSSQL, Sqlite
  • 14
    Open source
  • 13
    Free
  • 12
    Promise Based
  • 4
    Recommend for mongoose users
  • 3
    Typescript
  • 3
    Atrocious documentation, buggy, issues closed by bots

Sign up to add or upvote prosMake informed product decisions

Cons of Doctrine 2
Cons of Hibernate
Cons of Sequelize
    Be the first to leave a con
    • 3
      Can't control proxy associations when entity graph used
    • 30
      Docs are awful
    • 10
      Relations can be confusing

    Sign up to add or upvote consMake informed product decisions

    4
    568
    346
    95K
    10
    19
    2
    - No public GitHub repository available -
    - No public GitHub repository available -

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

    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!

    What companies use Doctrine 2?
    What companies use Hibernate?
    What companies use Sequelize?

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

    What tools integrate with Doctrine 2?
    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 Doctrine 2, Hibernate, and Sequelize?
    Propel
    Propel provides a GPU-backed numpy-like infrastructure for scientific computing in JavaScript.
    MySQL
    The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
    PostgreSQL
    PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions.
    MongoDB
    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
    Redis
    Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
    See all alternatives