Java ORM

Open-source Java projects categorized as ORM

Top 23 Java ORM Projects

  • MyBatis

    MyBatis SQL mapper framework for Java

  • greenDAO

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

  • LitePal

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

  • ActiveAndroid

    Active record style SQLite persistence for Android

  • Hibernate

    Hibernate's core Object/Relational Mapping functionality

    Latest mention: Replace JPA annotations with Hibernate Annotations? | reddit.com/r/java | 2021-01-24
  • jOOQ

    jOOQ is the best way to write SQL in Java

    Latest mention: Why We Use Jooq Instead Of Hibernate | reddit.com/r/programming | 2020-12-22

    But that too will allow you to use only a subset of SQL, not vendor specific stuff. Anyway, that too is on the roadmap: https://github.com/jOOQ/jOOQ/issues/7444

  • requery

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

  • sugar

    Insanely easy way to work with Android Database.

  • android-database-sqlcipher

    Android SQLite API based on SQLCipher

  • android-sqlite-asset-helper

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

  • Spring Data JPA

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

  • Speedment

    Speedment is a Stream ORM Java Toolkit and Runtime

  • ormlite

    ORMLite Android functionality used in conjunction with ormlite-core

  • couchbase-lite-android

    Lightweight, embedded, syncable NoSQL database engine for Android.

  • Ebean ORM

    Ebean ORM

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

    Latest mention: Weekly Developer Roundup #23 - Sun Nov 22 2020 | dev.to | 2020-11-21

    Show HN: A new way of ORM in Java: https://github.com/braisdom/ObjectiveSql

  • sprinkles

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

  • OrmLite

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

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

  • 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

  • Reladomo

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

  • SQLiteProvider

    Extended SQLite functionality for Android

  • Doma 2

    DAO oriented database mapping framework for Java 8+

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

Index

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

Project Stars
1 MyBatis 14,960
2 greenDAO 12,325
3 LitePal 7,509
4 ActiveAndroid 4,734
5 Hibernate 4,512
6 jOOQ 4,201
7 requery 3,041
8 sugar 2,632
9 android-database-sqlcipher 2,217
10 android-sqlite-asset-helper 2,129
11 Spring Data JPA 1,986
12 Speedment 1,902
13 ormlite 1,549
14 couchbase-lite-android 1,160
15 Ebean ORM 1,147
16 ObjectiveSql 1,082
17 sprinkles 789
18 OrmLite 485
19 SimpleNoSQL 395
20 Simple Flat Mapper 366
21 Reladomo 333
22 SQLiteProvider 312
23 Doma 2 248