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

877
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

    - 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.
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Git
    Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
    GitHub
    GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    See all alternatives