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

NHibernate

65
72
+ 1
4
SQLAlchemy

658
412
+ 1
5
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
  • 4
    DDD friendly
  • 5
    Open Source

Sign up to add or upvote prosMake 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!

Jobs that mention NHibernate and SQLAlchemy as a desired skillset
CBRE
United States of America Texas Richardson
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.
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.
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.
See all alternatives