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

  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: Django: One ORM to rule all databases | news.ycombinator.com | 2025-10-12

    > How? Stored procedures?

    Not neccesarily. jOOQ[1] and sqlc[2] are great options if you don't like stored procedures, but for a small app or a prototype, you could also just have plain SQL strings in your app.

    My point isn't that the code has to be stored in the database, but rather that the processing happens in one place where your data is stored and your middle tier just gets the results. Pure, stateless data. This means you don't have to synchronise shared mutable state between your app and your DB server, cutting out all the headaches of ORMs, such as having to specify your data model in two separate places, n+1 queries, locking, caching, and optimistic concurrency control.

    SQL also provides a declarative approach to defining your business logic. You define the 'what', not the 'how'. In addition to greater productivity, the programming model is much simpler because you aren't complecting control flow with data flow.

    > How do you version that code

    You put it into your VCS. SQL is part of your code base, you can and should version control it just like any Python, Ruby or Java code. When using stored procedures, I recommend putting them in a separate schema, so that the schema can be dropped and recreated in a single transaction during deployment.

    > how do you reason with the business logic split all over the DB and code

    There is no split. The core business logic is in SQL, with your middle tier doing the plumbing, orchestration of external services and presentation. You separate your concerns instead of mixing them.

    [1] https://www.jooq.org/

  8. Hibernate

    Idiomatic persistence for Java and relational databases

    Project mention: Getting Started With Hibernate ORM and MongoDB | dev.to | 2025-11-04

    For years, Hibernate ORM has been one of the most popular frameworks in the Java ecosystem. It was built to simplify data persistence by letting developers work with Java objects instead of SQL statements, a technique known as object-relational mapping (ORM).

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

  12. afinal

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

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

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

  24. Ebean ORM

    Ebean ORM

  25. mybatis-plus-join

    支持连表查询的mybatis-plus,mybatis-plus风格的连表操作提供left join、right join等操作

  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

Java ORM related posts

  • Getting Started With Hibernate ORM and MongoDB

    2 projects | dev.to | 4 Nov 2025
  • easy-query: The Entity Framework Core for Java Developers

    1 project | dev.to | 29 Oct 2025
  • easy-query: A Modern, Type-Safe ORM for Java That Actually Makes Sense

    1 project | dev.to | 29 Oct 2025
  • A simplified definition of an ORM

    1 project | dev.to | 28 Aug 2025
  • How to Make Websites That Will Require Lots of Your Time and Energy

    4 projects | news.ycombinator.com | 28 Jul 2025
  • 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
  • A note from our sponsor - SaaSHub
    www.saashub.com | 23 Dec 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,325
2 APIJSON 18,365
3 mybatis-plus 17,250
4 greenDAO 12,625
5 LitePal 8,095
6 jOOQ 6,607
7 Hibernate 6,373
8 ActiveAndroid 4,676
9 Spring Data JPA 3,215
10 afinal 3,145
11 requery 3,121
12 android-database-sqlcipher 2,808
13 sugar 2,617
14 mybatis-flex 2,485
15 android-sqlite-asset-helper 2,212
16 Speedment 2,097
17 zfoo 1,964
18 sqli 1,890
19 morphia 1,677
20 ormlite 1,587
21 jimmer 1,589
22 Ebean ORM 1,512
23 mybatis-plus-join 1,455

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 9th most popular programming language
based on number of references?