Working with Sugar ORM

Sugar ORM is a database persistence library that provides a clear and simple APIs for SQLite database operations. Sugar ORM is simple and easy to setup compared to other Android ORM libraries like ActiveAndroid or DBFlow.

The below guide works with Sugar ORM 1.4. Versions before 1.4 has a different way of defining a model.
Continue reading “Working with Sugar ORM”

ActiveAndroid Tutorial: Working with the Library

ActiveAndroid is a simple-to-use Object Relational Mapper library, which maps java classes to database tables and java class member variables to the table columns. Each row in a table will become an object. This will help developer create, update, delete and select data from SQLite database using model objects without using raw SQL queries. Continue reading “ActiveAndroid Tutorial: Working with the Library”

[Tutorial Highlight] Tutorial – greenDAO From Scratch

greenDAO is an Android ORM library which offers an object oriented interface to work with date in SQLite. The library also provides advanced ORM features such as session cache, eager loading, and active entities. It is also claimed to insert, update and load data at rates of several thousand entities per second.


devteam83 introduces how to work with greenDAO in a series of 4 posts. It is the most detailed tutorial about greenDAO I’ve found.
Continue reading “[Tutorial Highlight] Tutorial – greenDAO From Scratch”