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

GORM

113
93
+ 1
0
MyBatis

158
142
+ 1
17
Add tool

GORM vs MyBatis: What are the differences?

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

What is MyBatis? SQL Mapper Framework for Java. 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.

GORM belongs to "Object Relational Mapper (ORM)" category of the tech stack, while MyBatis can be primarily classified under "Java Tools".

GORM and MyBatis are both open source tools. GORM with 14.7K GitHub stars and 1.67K forks on GitHub appears to be more popular than MyBatis with 11.5K GitHub stars and 7.26K GitHub forks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of GORM
Pros of MyBatis
    Be the first to leave a pro
    • 6
      Easy to use
    • 3
      Extensions
    • 3
      Integrated with Spring
    • 3
      Flexible
    • 2
      Data-first support
    • 0
      Ok

    Sign up to add or upvote prosMake informed product decisions

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

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

    What companies use GORM?
    What companies use MyBatis?
    See which teams inside your own company are using GORM or MyBatis.
    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 MyBatis?
      No integrations found
      What are some alternatives to GORM and MyBatis?
      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.
      Hibernate
      Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
      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.
      See all alternatives