ormdroid alternatives and similar packages
Based on the "ORM" category.
Alternatively, view ormdroid alternatives based on common mentions on social networks and blogs.
-
sqlbrite
DISCONTINUED. A lightweight wrapper around SQLiteOpenHelper which introduces reactive stream semantics to SQL operations. -
DBFlow
A blazing fast, powerful, and very simple ORM android database library that writes database code for you. -
android-sqlite-asset-helper
An Android helper class to manage database creation and version management using an application's raw asset files -
couchbase-lite-android
DISCONTINUED. Lightweight, embedded, syncable NoSQL database engine for Android. -
sprinkles
Sprinkles is a boiler-plate-reduction-library for dealing with databases in android applications -
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. -
orman
lightweight and minimalist ORM for Java/Android. works with SQLite & MySQL. (not actively maintained) -
LiteOrm
LiteGo is a Java-based asynchronous concurrency library. It has a smart executor, which can be freely set the maximum number of concurrent at same time , and the number of threads in waiting queue. It can also set waiting policies and overload strategies. -
Kripton Persistence Library
A Java/Kotlin library for Android platform, to manage bean's persistence in SQLite, SharedPreferences, JSON, XML, Properties, Yaml, CBOR. -
SqliteMagic
Compile time processed, annotation driven, no reflection SQLite database layer for Android -
AndroidQueryORM
DISCONTINUED. AndroidQuery is an Android ORM for SQLite and ContentProvider which focuses on easy of use and performances thanks to annotation processing and code generation
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ormdroid or a related project?
README
ORMDroid is a simple ORM persistence framework for your Android applications, providing an easy to use, almost-zero-config way to handle model persistence without ever having to deal with Android's built-in database interfaces.
ORMDroid is:
- Small - ~20k, target of no more than 30k.
- Simple - No excessive features or support for platforms other than Android.
- Flexible - Allowing you to configure what you need to, but at the same time...
- Automatic - ... sensible defaults for everything.
ORMDroid works with Android API 8 and up.
ORMDroid is available under the Apache license 2.0. Copyright (c)2012-2013 Ross Bamford & Contributors.
Getting ORMDroid
You can either download ORMDroid from the download page, or check out of Git.
If downloading a packaged release, you'll need to unzip the file somewhere, and then import the project into your Eclipse.
Getting started
To use ORMDroid, you need to set up ORMDroid as a required library in your android app. If you're using Eclipse, go to project->properties->android and add ORMDroid as a required libray. Now, you just need to add a single XML tag to your AndroidManifest.xml
as a child of the Application
tag:
<meta-data
android:name="ormdroid.database.name"
android:value="your_database_name" />
<meta-data
android:name="ormdroid.database.visibility"
android:value="PRIVATE||WORLD_READABLE||WORLD_WRITEABLE" />
And initialize the framework somewhere (e.g. Application.onCreate, or even in your activity's onCreate since there's no penalty for calling initialize multiple times):
ORMDroidApplication.initialize(someContext);
Then you create your model:
public class Person extends Entity {
public int id;
public String name;
public String telephone;
}
And work with it as you see fit!
Person p = Entity.query(Person.class).where("id=1").execute();
p.telephone = "555-1234";
p.save();
There is also an object-oriented query API:
import static com.roscopeco.ormdroid.Query.eql;
// ... later
Person person = Entity.query(Person.class).where(eql("id", id)).execute();
p.telephone = "555-1234";
p.save();
That's it! If you want more customization over e.g. table names, column names, etc, take a look at the Table
and Column
annotations.
There is a more detailed version of these instructions in this blog entry
Update: There is now a very simple sample app available for ORMDroid. You can get it from Git:
git clone https://github.com/roscopeco/ormdroid-example.git
For more information, check out this blog entry.
Get in touch!
If you have questions, suggestions or just want to talk (about ORMDroid), get in touch via the Google Group.
*Note that all licence references and agreements mentioned in the ormdroid README section above
are relevant to that project's source code only.