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

NHibernate

74
91
+ 1
5
SQLAlchemy

948
498
+ 1
7
Add tool

NHibernate vs SQLAlchemy: What are the differences?

NHibernate: The object-relational mapper for .NET. It is a mature, open source object-relational mapper for the .NET framework. It's actively developed, fully featured and used in thousands of successful projects; SQLAlchemy: The Python SQL Toolkit and Object Relational Mapper. SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.

NHibernate and SQLAlchemy can be categorized as "Object Relational Mapper (ORM)" tools.

NHibernate and SQLAlchemy are both open source tools. SQLAlchemy with 3.36K GitHub stars and 888 forks on GitHub appears to be more popular than NHibernate with 1.64K GitHub stars and 825 GitHub forks.

MonkeyLearn, WakaTime, and YOU-app are some of the popular companies that use SQLAlchemy, whereas NHibernate is used by Pinnacle Sports, ProProcure, and CRM Solutions. SQLAlchemy has a broader approval, being mentioned in 46 company stacks & 122 developers stacks; compared to NHibernate, which is listed in 6 company stacks and 5 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of NHibernate
Pros of SQLAlchemy
  • 5
    DDD friendly
  • 7
    Open Source

Sign up to add or upvote prosMake informed product decisions

Cons of NHibernate
Cons of SQLAlchemy
    Be the first to leave a con
    • 2
      Documentation

    Sign up to add or upvote consMake informed product decisions

    What is NHibernate?

    It is a mature, open source object-relational mapper for the .NET framework. It's actively developed, fully featured and used in thousands of successful projects.

    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 NHibernate?
    What companies use SQLAlchemy?
    See which teams inside your own company are using NHibernate or SQLAlchemy.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with NHibernate?
    What tools integrate with SQLAlchemy?

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

    What are some alternatives to NHibernate and SQLAlchemy?
    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.
    Hibernate
    Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
    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.
    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.
    See all alternatives