Java ORM

Open-source Java projects categorized as ORM

Top 23 Java ORM Projects

  • GitHub repo MyBatis

    MyBatis SQL mapper framework for Java

  • GitHub repo greenDAO

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

  • GitHub repo mybatis-plus

    An powerful enhanced toolkit of MyBatis for simplify development

    Project mention: The Apache Attic | | 2021-04-09
  • GitHub repo LitePal

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

  • GitHub repo ActiveAndroid

    Active record style SQLite persistence for Android

  • GitHub repo Hibernate

    Hibernate's core Object/Relational Mapping functionality

    Project mention: Reliable WebSockets-based pub/sub with Spring Boot | | 2021-04-09

    Firstly, let's set up a basic Spring Boot application. We can use the Spring Initializr with Spring Data JPA, H2 Database, Lombok added. H2 Database will provide us with a simple database, and Spring Data JPA will allow us to easily interact with it using Hibernate. Lombok will make it easier to write concise and readable classes.

  • GitHub repo jOOQ

    jOOQ is the best way to write SQL in Java

    Project mention: Weekly "ask anything" thread | | 2021-03-22

    I've been hugely inspired by . Even though I am not familiar with JAVA much, but I really liked their way of typed column names and every part of SQL. Similar to them, I also want to be as close to SQL as possible. Because in my experience, using ORMs for long time can reduce your memory about simple SQL syntax's. I am also a fan of DB first approach for ORMs.

  • GitHub repo requery

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

  • GitHub repo sugar

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

  • GitHub repo android-database-sqlcipher

    Android SQLite API based on SQLCipher

    Project mention: Encrypted sqLite | | 2021-02-14

  • GitHub repo android-sqlite-asset-helper

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

  • GitHub repo Spring Data JPA

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

    Project mention: What is the Specification Pattern | | 2021-03-04

    I have written some utility functions for composing Specifications in a nicer and safer way, inspired by how QueryDSL composes Predicates. I created a PR in attempt to merge it directly to Spring Data JPA itself (, but unfortunately it was rejected because the Spring team plans to majorly rework Specifications in the near future ( Feel free to copy the code in my PR for your own use.

  • GitHub repo Speedment

    Speedment is a Stream ORM Java Toolkit and Runtime

  • GitHub repo ormlite

    ORMLite Android functionality used in conjunction with ormlite-core

  • GitHub repo Ebean ORM

    Ebean ORM

    Project mention: Stop Using JPA/Hibernate | | 2021-04-11

    I wouldn't call it micro, but is pretty nice.

  • GitHub repo couchbase-lite-android

    Lightweight, embedded, syncable NoSQL database engine for Android.

  • GitHub repo ObjectiveSql

    ObjectiveSQL is an ORM framework in Java based on ActiveRecord pattern, which encourages rapid development and clean, codes with the least and convention over configuration.

    Project mention: Weekly Developer Roundup #23 - Sun Nov 22 2020 | | 2020-11-21

    Show HN: A new way of ORM in Java:

  • GitHub repo sprinkles

    Sprinkles is a boiler-plate-reduction-library for dealing with databases in android applications

  • GitHub repo OrmLite

    Core ORMLite functionality that provides a lite Java ORM in conjunction with ormlite-jdbc or ormlite-android

    Project mention: Stop Using JPA/Hibernate | | 2021-04-11

    Have you ever tried - ormlite-core[1]?

    I recently found this obscure but quite stable library, kind of fell in love with it.


  • GitHub repo SimpleNoSQL

    A simple NoSQL client for Android. Meant as a document store using key/value pairs and some rudimentary querying. Useful for avoiding the hassle of SQL code.

  • GitHub repo Simple Flat Mapper

    Fast and Easy mapping from database and csv to POJO. A java micro ORM, lightweight alternative to iBatis and Hibernate. Fast Csv Parser and Csv Mapper

  • GitHub repo Reladomo

    Reladomo is an enterprise grade object-relational mapping framework for Java.

    Project mention: Bitemporal History | | 2021-04-08

    Not the OP, but Reladomo is a Java ORM which supports bitemporal history.

  • GitHub repo SQLiteProvider

    Extended SQLite functionality for Android

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). The latest post mention was on 2021-04-11.


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

Project Stars
1 MyBatis 15,404
2 greenDAO 12,356
3 mybatis-plus 10,816
4 LitePal 7,581
5 ActiveAndroid 4,730
6 Hibernate 4,576
7 jOOQ 4,319
8 requery 3,050
9 sugar 2,634
10 android-database-sqlcipher 2,265
11 android-sqlite-asset-helper 2,141
12 Spring Data JPA 2,038
13 Speedment 1,923
14 ormlite 1,551
15 Ebean ORM 1,178
16 couchbase-lite-android 1,160
17 ObjectiveSql 1,113
18 sprinkles 788
19 OrmLite 488
20 SimpleNoSQL 393
21 Simple Flat Mapper 372
22 Reladomo 337
23 SQLiteProvider 312