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

Doctrine 2

275
207
+ 1
31
Hibernate

1.5K
1.1K
+ 1
33
SQLAlchemy

948
498
+ 1
7
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Doctrine 2
Pros of Hibernate
Pros of SQLAlchemy
  • 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
  • 7
    Open Source

Sign up to add or upvote prosMake informed product decisions

Cons of Doctrine 2
Cons of Hibernate
Cons of SQLAlchemy
    Be the first to leave a con
    • 3
      Can't control proxy associations when entity graph used
    • 2
      Documentation

    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 SQLAlchemy?

    SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.

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

    What companies use Doctrine 2?
    What companies use Hibernate?
    What companies use SQLAlchemy?

    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 SQLAlchemy?

    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 SQLAlchemy?
    Propel
    Propel provides a GPU-backed numpy-like infrastructure for scientific computing in JavaScript.
    Prisma
    Prisma is an open-source database toolkit. It replaces traditional ORMs and makes database access easy with an auto-generated query builder for TypeScript & Node.js.
    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.
    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.
    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