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

GORM

113
93
+ 1
0
Hibernate

1.3K
994
+ 1
25
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 Private StackShare. Sign up for Private StackShare.
Learn More
Pros of GORM
Pros of Hibernate
    Be the first to leave a pro
    • 17
      Easy ORM
    • 7
      Easy transaction definition
    • 1
      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 Private StackShareLearn 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.
      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