Java ORM

Open-source Java projects categorized as ORM

Top 23 Java ORM Projects

  1. MyBatis

    MyBatis SQL mapper framework for Java

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. APIJSON

    🏆 实时 零代码、全功能、强安全 ORM 库 🚀 后端接口和文档零代码,前端(客户端) 定制返回 JSON 的数据和结构 🏆 Real-Time coding-free, powerful and secure ORM 🚀 providing APIs and Docs without coding by Backend, and the returned JSON of API can be customized by Frontend(Client) users

    Project mention: Top 15 Open-Source Low-Code Projects with the Most GitHub Stars | dev.to | 2024-07-18

    GitHub https://github.com/Tencent/APIJSON GitHub Stars 16.9k Most Recent Update on GitHub 2 days ago Open Source License Apache 2.0 Number of Active Contributors This Year 6 Acceptance of External PRs Yes Official Website http://apijson.cn/ Documentation https://apijsondocs.readthedocs.io/en/latest/

  4. mybatis-plus

    An powerful enhanced toolkit of MyBatis for simplify development

  5. greenDAO

    greenDAO is a light & fast ORM solution for Android that maps objects to SQLite databases.

  6. LitePal

    An Android library that makes developers use SQLite database extremely easy.

  7. jOOQ

    jOOQ is the best way to write SQL in Java

    Project mention: A Lisp adventure on the calm waters of the dead C (2021) | news.ycombinator.com | 2025-06-27

    Two good examples of "builders to SQL" are

    https://www.jooq.org/

    and

    https://www.sqlalchemy.org/

    JooQ isn't everybody's taste but I use it for my job and I think it's great particularly in that you can reuse expressions and write generators for complex queries. We have a powerful search interface that combines full-text with other kinds of queries ("Is about topic T", "Data was collected between S and E") that is beautiful. I think it's funny how JooQ has that lispy f(a,b) style (no accident it is like ferocity) and how Sqlalchemy is really fluent and takes advantage of operator overloading.

  8. Hibernate

    Hibernate's core Object/Relational Mapping functionality

    Project mention: How To Secure APIs from SQL Injection Vulnerabilities | dev.to | 2025-03-19

    Object-Relational Mapping frameworks like Hibernate (Java), SQLAlchemy (Python), and Sequelize (Node.js) typically use parameterized queries by default and abstract direct SQL interaction. These frameworks help eliminate common developer errors that might otherwise introduce vulnerabilities.

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. ActiveAndroid

    Active record style SQLite persistence for Android

  11. afinal

    Afinal是一个android的ioc,orm框架,内置了四大模块功能:FinalAcitivity,FinalBitmap,FinalDb,FinalHttp。通过finalActivity,我们可以通过注解的方式进行绑定ui和事件。通过finalBitmap,我们可以方便的加载bitmap图片,而无需考虑oom等问题。通过finalDB模块,我们一行代码就可以对android的sqlite数据库进行增删改查。通过FinalHttp模块,我们可以以ajax形式请求http数据。详情请通过以下网址查看。

  12. Spring Data JPA

    Simplifies the development of creating a JPA-based data access layer.

    Project mention: 🍃Are You Making These Mistakes in Spring Boot Testing? Best Practices You Need to Know! 🍃 | dev.to | 2025-04-02

    🔗 Want to know more? Check out Spring Data JPA documentation.

  13. requery

    requery - modern SQL based query & persistence for Java / Kotlin / Android

  14. android-database-sqlcipher

    Android SQLite API based on SQLCipher

  15. sugar

    Insanely easy way to work with Android Database. (by chennaione)

  16. mybatis-flex

    mybatis-flex is an elegant Mybatis Enhancement Framework

  17. android-sqlite-asset-helper

    An Android helper class to manage database creation and version management using an application's raw asset files

  18. Speedment

    Speedment is a Stream ORM Java Toolkit and Runtime

  19. zfoo

    💡Extremely fast enterprise server framework, can be used in RPC, game server, web server.

  20. sqli

    orm sql query builder, API: QB, QB.X, QrB

  21. morphia

    MongoDB object-document mapper in Java based on https://github.com/mongodb/mongo-java-driver

  22. ormlite

    ORMLite Android functionality used in conjunction with ormlite-core

  23. Ebean ORM

    Ebean ORM

  24. mybatis-plus-join

    支持连表查询的mybatis-plus,mybatis-plus风格的连表操作提供wrapper.leftJoin(),wrapper.rightJoin()等操作

  25. jimmer

    The most advanced ORM of JVM, for both java & kotlin

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Java ORM discussion

Log in or Post with

Java ORM related posts

  • A Lisp adventure on the calm waters of the dead C (2021)

    5 projects | news.ycombinator.com | 27 Jun 2025
  • 🍃Are You Making These Mistakes in Spring Boot Testing? Best Practices You Need to Know! 🍃

    3 projects | dev.to | 2 Apr 2025
  • How To Secure APIs from SQL Injection Vulnerabilities

    3 projects | dev.to | 19 Mar 2025
  • Spring Data JPA: Speed Up Development & Business Focus

    1 project | dev.to | 9 Jan 2025
  • Top 10 Java Frameworks Every Dev Need to Know

    2 projects | dev.to | 4 Dec 2024
  • The Importance of Using Interfaces for JpaRepository(Java Persistence API) in Spring Data JPA

    1 project | dev.to | 18 Oct 2024
  • Insights after 11 years with the functional database Datomic [video]

    4 projects | news.ycombinator.com | 25 Sep 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 Jul 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source ORM projects in Java? This list will help you:

# Project Stars
1 MyBatis 20,142
2 APIJSON 18,061
3 mybatis-plus 16,982
4 greenDAO 12,625
5 LitePal 8,108
6 jOOQ 6,443
7 Hibernate 6,183
8 ActiveAndroid 4,680
9 afinal 3,146
10 Spring Data JPA 3,139
11 requery 3,130
12 android-database-sqlcipher 2,792
13 sugar 2,618
14 mybatis-flex 2,170
15 android-sqlite-asset-helper 2,146
16 Speedment 2,089
17 zfoo 1,910
18 sqli 1,893
19 morphia 1,669
20 ormlite 1,590
21 Ebean ORM 1,493
22 mybatis-plus-join 1,366
23 jimmer 1,294

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Java is
the 8th most popular programming language
based on number of references?