Alternatives to Hibernate logo

Alternatives to Hibernate

MyBatis, Spring, Sequelize, Entity Framework, and SQLAlchemy are the most popular alternatives and competitors to Hibernate.
1.1K
889
+ 1
24

What is Hibernate and what are its top alternatives?

Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
Hibernate is a tool in the Object Relational Mapper (ORM) category of a tech stack.

Top Alternatives to Hibernate

  • MyBatis

    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

    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

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

  • Entity Framework

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

  • SQLAlchemy

    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

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

  • Entity Framework Core

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

  • Dapper

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

Hibernate alternatives & related posts

MyBatis logo

MyBatis

104
105
12
SQL Mapper Framework for Java
104
105
+ 1
12
PROS OF MYBATIS
  • 5
    Easy to use
  • 2
    Flexible
  • 2
    Integrated with Spring
  • 2
    Extensions
  • 1
    Data-first support
CONS OF MYBATIS
    Be the first to leave a con

    related MyBatis posts

    Spring logo

    Spring

    3.2K
    3.6K
    1K
    Provides a comprehensive programming and configuration model for modern Java-based enterprise applications
    3.2K
    3.6K
    + 1
    1K
    PROS OF SPRING
    • 219
      Java
    • 153
      Open source
    • 131
      Great community
    • 118
      Very powerful
    • 110
      Enterprise
    • 61
      Lot of great subprojects
    • 58
      Easy setup
    • 44
      Convention , configuration, done
    • 37
      Standard
    • 29
      Love the logic
    • 10
      Dependency injection
    • 10
      Good documentation
    • 9
      Stability
    • 6
      Easy
    • 6
      MVC
    • 3
      Makes the hard stuff fun & the easy stuff automatic
    • 3
      Strong typing
    • 2
      Great Desgin
    • 2
      Maven
    • 2
      Easy Integration with Spring Security
    • 2
      Integrations with most other Java frameworks
    • 1
      Live project
    • 1
      Supports vast databases
    • 1
      Best practices
    • 1
      Large ecosystem with seamless integration
    • 1
      Java has more support and more libraries
    • 1
      Code maintenance
    • 1
      OracleDb integration
    CONS OF SPRING
    • 13
      Draws you into its own ecosystem and bloat
    • 2
      Poor documentation
    • 2
      Verbose configuration
    • 1
      Java

    related Spring posts

    Is learning Spring and Spring Boot for web apps back-end development is still relevant in 2021? Feel free to share your views with comparison to Django/Node.js/ ExpressJS or other frameworks.

    Please share some good beginner resources to start learning about spring/spring boot framework to build the web apps.

    See more

    I am consulting for a company that wants to move its current CubeCart e-commerce site to another PHP based platform like PrestaShop or Magento. I was interested in alternatives that utilize Node.js as the primary platform. I currently don't know PHP, but I have done full stack dev with Java, Spring, Thymeleaf, etc.. I am just unsure that learning a set of technologies not commonly used makes sense. For example, in PrestaShop, I would need to work with JavaScript better and learn PHP, Twig, and Bootstrap. It seems more cumbersome than a Node JS system, where the language syntax stays the same for the full stack. I am looking for thoughts and advice on the relevance of PHP skillset into the future AND whether the Node based e-commerce open source options can compete with Magento or Prestashop.

    See more
    Sequelize logo

    Sequelize

    559
    1K
    101
    Easy-to-use multi SQL dialect ORM for Node.js
    559
    1K
    + 1
    101
    PROS OF SEQUELIZE
    • 32
      Good ORM for node.js
    • 25
      Easy setup
    • 14
      Support MySQL & MariaDB, PostgreSQL, MSSQL, Sqlite
    • 11
      Open source
    • 9
      Free
    • 7
      Promise Based
    • 2
      Atrocious documentation, buggy, issues closed by bots
    • 1
      Recommend for mongoose users
    CONS OF SEQUELIZE
    • 22
      Docs are awful
    • 4
      Relations can be confusing

    related Sequelize posts

    Dieudonné ALLOGNON
    Junior Fullstack Developer · | 4 upvotes · 30.4K views

    Hey! I am actually in internship and have an app to create for my structure. It will be an intern app which will allow crud dashboard actions with some data provided by the use of an API of one of the structure partner and make a correspondence to data contained in a private database. Since it's an intern app, I thought about Electron for a desktop app because I did a lot of web with Laravel and the structure goes more for the desktop app. But it will be my first occasion working with this tech.

    Is Electron a good choice? Wich ORM should be more complete and adapted to this between Sequelize and TypeORM? (Database will be MySQL) Some charts will be displayed in the app. Is there a library (preferably without jQuery) that suits this stack?

    Thank you !

    See more

    What is the best way to increase your income as a freelancer in 2019? What frameworks should be the best to learn? React Node.js Docker Kubernetes Sequelize Mongoose MongoDB ExpressJS hapi Based on trends I've picked up a JS full stack. If you need to work under startups you may replace React with Vue.js . If you want to work in outsourcing Angular 2+ may be better.

    What is your opinion?

    See more
    Entity Framework logo

    Entity Framework

    426
    113
    8
    An object-relational mapper that enables .NET developers to work with relational data
    426
    113
    + 1
    8
    PROS OF ENTITY FRAMEWORK
    • 1
      LINQ
    • 1
      Multiple approach (Model/Database/Code) first
    • 1
      Strongly Object-Oriented
    • 1
      Code first approach
    • 1
      Object Oriented
    • 1
      Model first approach
    • 1
      Auto generated code
    • 1
      Strongly typed entities
    • 0
      Database first
    CONS OF ENTITY FRAMEWORK
      Be the first to leave a con

      related Entity Framework posts

      SQLAlchemy logo

      SQLAlchemy

      410
      335
      3
      The Python SQL Toolkit and Object Relational Mapper
      410
      335
      + 1
      3
      PROS OF SQLALCHEMY
      • 3
        Open Source
      CONS OF SQLALCHEMY
        Be the first to leave a con

        related SQLAlchemy posts

        Django Stars
        Developer at Django Stars · | 3 upvotes · 65.5K views

        Merging Django ORM with SQLAlchemy for Easier Data Analysis (Video Inside)

        Development of products with Django framework is usually easy and straightforward; great documentation, many tools out of the box, plenty of open source libraries and big community. Django ORM takes full control about SQL layer protecting you from mistakes, and underlying details of queries so you can spend more time on designing and building your application structure in Python code. However, sometimes such behavior may hurt - for example, when you’re building a project related to data analysis. Building advanced queries with Django is not very easy; it’s hard to read (in Python) and hard to understand what’s going on in SQL-level without logging or printing generated SQL queries somewhere. Moreover, such queries could not be efficient enough, so this will hit you back when you load more data into DB to play with. In one moment, you can find yourself doing too much raw SQL through Django cursor, and this is the moment when you should do a break and take a look on another interesting tool, which is placed right between ORM layer and the layer of raw SQL queries.

        See more
        Doctrine 2 logo

        Doctrine 2

        238
        181
        31
        An object-relational mapper (ORM) for PHP 5.3.2+ that provides transparent persistence for PHP objects
        238
        181
        + 1
        31
        PROS OF DOCTRINE 2
        • 14
          Great abstraction, easy to use, good docs
        • 10
          Object-Oriented
        • 7
          Easy setup
        CONS OF DOCTRINE 2
          Be the first to leave a con

          related Doctrine 2 posts

          Entity Framework Core logo

          Entity Framework Core

          197
          139
          5
          Lightweight and cross-platform version of the popular Entity Framework
          197
          139
          + 1
          5
          PROS OF ENTITY FRAMEWORK CORE
          • 5
            Fits very well with Microsoft technologies
          CONS OF ENTITY FRAMEWORK CORE
            Be the first to leave a con

            related Entity Framework Core posts

            Dapper logo

            Dapper

            80
            24
            0
            A simple object mapper for .Net
            80
            24
            + 1
            0
            PROS OF DAPPER
              Be the first to leave a pro
              CONS OF DAPPER
                Be the first to leave a con

                related Dapper posts