Classy Data is a Lightweight Java Persistence package which builds on the OrmLite lightweight Object Relational Mapping (ORM) Java package. It is a client-side persistence framework which adheres to a familiar industry specification and is suitable for resource-constrained platforms such as Android. Classy Data implements version 1 of the javax.persistence package which delivers a lean package, but sufficient for client-side persistence. JPA features include persistence.xml configuration, an entity manager factory, named queries and transactions which automatically roll back if an exception occurs. For more details, refer to Lightweight JPA in a nutshell>
Classy Data is potentially portable to any database supported by OrmLite - refer Database-Notes for Supported Databases with builtin support currently provided for SQLite and H2.
Classy Data binds classes using Dagger dependency injection which enhances ease of configuration, flexibility and testability.
The instructions for getting started can be found at Classy Data Home Page. You will need to clone this project from the Github site and then use Maven to install it. Both Java SE version 7 and above and Maven need to be installed in order to proceed. Once the project is installed you can progress through the eamples starting with many2many example.
The classy_data_lib module produces a library with an Android SQLite adapter and other features including an Android-specific Persistence Container and a Fast Text Search engine to support automatic search suggestions. Classy Android and Classy Apps Demonstrate classy_data_lib development with Android Studio and Eclipse Andmore respectively.