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

Hibernate

1.2K
953
+ 1
24
NHibernate

54
64
+ 1
4
Add tool

Hibernate vs NHibernate: What are the differences?

What is Hibernate? Idiomatic persistence for Java and relational databases. Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.

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

Hibernate and NHibernate belong to "Object Relational Mapper (ORM)" category of the tech stack.

NHibernate is an open source tool with 1.64K GitHub stars and 825 GitHub forks. Here's a link to NHibernate's open source repository on GitHub.

Bodybuilding.com, Zola, and StyleShare Inc. are some of the popular companies that use Hibernate, whereas NHibernate is used by Pinnacle Sports, ProProcure, and CRM Solutions. Hibernate has a broader approval, being mentioned in 133 company stacks & 404 developers stacks; compared to NHibernate, which is listed in 6 company stacks and 5 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Hibernate
Pros of NHibernate
  • 16
    Easy ORM
  • 7
    Easy transaction definition
  • 1
    Is integrated with spring jpa
  • 4
    DDD friendly

Sign up to add or upvote prosMake informed product decisions

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

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

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

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

    Jobs that mention Hibernate and NHibernate as a desired skillset
    What companies use Hibernate?
    What companies use NHibernate?
    See which teams inside your own company are using Hibernate or NHibernate.
    Sign up for Private StackShareLearn More

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

    What tools integrate with Hibernate?
    What tools integrate with NHibernate?

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

    Blog Posts

    What are some alternatives to Hibernate and NHibernate?
    MyBatis
    It is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. It eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. It can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records.
    Spring
    A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.
    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.
    SQLAlchemy
    SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
    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