Hibernate
Hibernate's core Object/Relational Mapping functionality (by hibernate)
MyBatis
MyBatis SQL mapper framework for Java (by mybatis)
Our great sponsors
Hibernate | MyBatis | |
---|---|---|
33 | 4 | |
5,741 | 19,404 | |
0.7% | 0.8% | |
9.9 | 9.3 | |
5 days ago | 4 days ago | |
Java | Java | |
- | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Hibernate
Posts with mentions or reviews of Hibernate.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-03.
- Como desenvolvi um backend web em Clojure
- JobRunr: A library for background processing in Java
-
Migrating quartz to jobrunr
And Hibernate ORM is LGPL: see the license on their Github project.
-
15 Popular Github Repositories for the Modern Developer of 2023
13. Hibernate
-
In One Minute : Hibernate
Hibernate is the umbrella for a collection of libraries, most notably Hibernate ORM which provides Object/Relational Mapping for java domain objects. In addition to its own "native" API, Hibernate ORM is also an implementation of the Java Persistence API (jpa) specification.
-
Spring Boot – Black Box Testing
I'm using Spring Data JPA as a persistence framework. Therefore, those classes are Hibernate entities.
-
The Spring Data findAll Anti-Pattern
I'm a top Hibernate contributor
-
How do access sql through java in the real world?
Hibernate -- https://hibernate.org (huge learning curve)
-
Hibernate & JPA Tutorial - Crash Course
This video is a crash course into the Hibernate & JPA universe.
-
How to Secure Nodejs Application.
To prevent SQL Injection attacks to sanitize input data. You can either validate every single input or validate using parameter binding. Parameter binding is mostly used by developers as it offers efficiency and security. If you are using a popular ORM such as sequelize, hibernate, etc then they already provide the functions to validate and sanitize your data. If you are using database modules other than ORM such as mysql for Node or Mongoose, you can use the escaping methods provided by the module. Let's learn by example. The codebase shown below is using mysql module for Node.
MyBatis
Posts with mentions or reviews of MyBatis.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-25.
- MyBatis makes it easier to use a relational database with OO applications
-
MyBatis VS jOOQ - a user suggested alternative
2 projects | 25 Nov 2022
-
Is there a reason to not use Spring Data JPA and Jackson in big projects?
Though a quick git blame shows that e.g. this line that uses JDBC batching was last touched 9 years ago: https://github.com/mybatis/mybatis-3/blame/395be63314d77cf5b956a77631ab0620de26df7a/src/main/java/org/apache/ibatis/executor/statement/PreparedStatementHandler.java
-
20 years of Hibernate
How about batch insert, updates, and deletes? I had to fix a broken MyBatis project recently and was surprised that this feature doesn't even seem to be implemented, at least according to this GitHub issue.
What are some alternatives?
When comparing Hibernate and MyBatis you can also consider the following projects:
Ebean ORM - Ebean ORM
Spring Data JPA - Simplifies the development of creating a JPA-based data access layer.
OrmLite - Core ORMLite functionality that provides a lite Java ORM in conjunction with ormlite-jdbc or ormlite-android
Apache Cayenne - Mirror of Apache Cayenne
Reladomo - Reladomo is an enterprise grade object-relational mapping framework for Java.
blaze-persistence - Rich Criteria API for JPA providers
high-performance-java-persistence - The High-Performance Java Persistence book and video course code examples
Hibernate vs Ebean ORM
MyBatis vs Spring Data JPA
Hibernate vs OrmLite
MyBatis vs Ebean ORM
Hibernate vs Apache Cayenne
MyBatis vs Apache Cayenne
Hibernate vs Spring Data JPA
MyBatis vs OrmLite
Hibernate vs Reladomo
MyBatis vs Reladomo
Hibernate vs blaze-persistence
MyBatis vs high-performance-java-persistence