KittyORM is an Object-Relational Mapping library designed for use with Android and SQLite. It implements Data Mapper pattern design and its main purpose is to simplify interaction with SQLite database in Android applications. Written in Java 7 it supports devices from API level 9 Android.
Main features we want to achieve with KittyORM are:
* simple and clear API;
* high flexibility of working with model POJO files via database mappers that grants you an ability to focus on your business processes not on working with raw SQL queries;
* full support of all features to create your SQLite schema via built-in annotations;
* flexible way to manage all things you may want to change or implement;
KittyORM project contains ORM library itself, demo and tutorial application available at Play Market and documentation located at https://akaish.github.io/KittyORMPages/
Current version: [0.1.2]
Features
- Full support of SQLite syntax to create a database schema implemented via KittyORM annotations.
- Supporting of mapping SQLite affinities to Java’s primitives, primitive wrappers and common objects such Date, BigInteger etc. Also, enumerations supported as well as user defined mapping (for example, NONE → Bitmap and back).
- Basic CRUD controller that can handle all typical CRUD operations.
- Support of extending default CRUD controller.
- QueryBuilder that offers simple creation of some extended queries to be used standalone or as part of extended CRUD controller.
- POJO models inheritance supported, that means that you can use abstract POJO class that would be inherited in child implementations. Also, KittyORM supports temporary tables and non-schema POJO models.
- Multidomain support (e.g. you can use as many databases in your application as you want).
- Not bad performance. You can tune your KittyORM database to avoid a big amount of reflection calls by setting your KittyORM database class by your own and placing it into Android Application class instance.
- Support of database version management. KittyORM provides you three migration options: DropCreate Migrator, FileScript Migrator and SimpleMigrationScriptGenerator Migrator.
- Ready for database encryption implementation.
- Simple but really flexible API. Practically, most components of KittyORM can be customized to suit your needs.
- Good documentation contains tutorial with code snippets, javadoc and demo application available at KittyORM project page.