Classy Data

Classy Data Persistence

Classy Data is a Java Persistence package that implements the JPA interface by placing a thin layer over the OrmLite lightweight Object Relational Mapping (ORM) package. Ormlite is popular in the Android programming community which is challenged by having to work with resource-constrained systems. Classy Data appeals by combining a proven lightweight ORM Open Source offering with a familiar application interface. It incorporates the javax.persistence package and contains a core set of JPA features such as persistence.xml for configuration, an Entity Manager and a transaction context implemented using standard Java in which the Entity Manager operates. For more details, refer to Introduction to Lightweight JPA

Classy Data is potentially portable to any database and operating system combination supported by OrmLite - refer Supported Databases. A separate Android library provides an Android SQLite adapter and other features including an Android-specific transaction context and a Fast Text Search engine to support automatic search suggestions.

Classy Data binds classes using Dagger dependency injection which enhances ease of configuration and flexibility.

Classy Data features

  • Persistence implemented with a standard API on classes marked with standard annotations
  • Persistence includes OrmLite QueryBuilder and SQL queries
  • Android adaption provided and portable to other platform and database combinations
  • Dependency injection, for flexibility and testability, using Dagger 2
  • Open Source GPLv3 license
  • Project automation with Maven
  • Supports development with Android Studio and Eclipse
  • Android unit tests with Robolectric
  • Code samples include Android applications with JPA