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

GORM

157
115
+ 1
0
Hibernate

1.7K
1.1K
+ 1
30
Add tool

GORM vs Hibernate: What are the differences?

Developers describe GORM as "The fantastic ORM library for Golang". The GORM is fantastic ORM library for Golang, aims to be developer friendly. It is an ORM library for dealing with relational databases. This gorm library is developed on the top of database/sql package. On the other hand, Hibernate is detailed as "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.

GORM and Hibernate can be primarily classified as "Object Relational Mapper (ORM)" tools.

GORM is an open source tool with 14.7K GitHub stars and 1.67K GitHub forks. Here's a link to GORM's open source repository on GitHub.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of GORM
Pros of Hibernate
    Be the first to leave a pro
    • 21
      Easy ORM
    • 7
      Easy transaction definition
    • 2
      Is integrated with spring jpa

    Sign up to add or upvote prosMake informed product decisions

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

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is GORM?

      It is a fantastic ORM library for Golang, aims to be developer friendly. It is an ORM library for dealing with relational databases. This library is developed on top of database/sql package.

      What is Hibernate?

      Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.

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

      What companies use GORM?
      What companies use Hibernate?
      See which teams inside your own company are using GORM or Hibernate.
      Sign up for StackShare EnterpriseLearn More

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

      What tools integrate with GORM?
      What tools integrate with Hibernate?

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

      Blog Posts

      What are some alternatives to GORM and Hibernate?
      Beego
      It is a RESTful HTTP framework for the rapid development of Go applications including APIs, web apps and backend services with integrated Go specific features such as interfaces and struct embedding.
      SQLAlchemy
      SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
      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.
      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.
      Dapper
      It is an object-relational mapping product for the Microsoft.NET platform: it provides a framework for mapping an object-oriented domain model to a traditional relational database.
      See all alternatives