Overview of LiteOrm
masterLiteOrm is a lightweight, high-performance, and powerful ORM (Object-Relational Mapping) framework for Android. It is designed to allow developers to perform CRUD (Create, Read, Update, Delete) operations, manage entity relationships, and handle automatic data mapping with minimal code.
Key characteristics include:
- Performance: Optimized to be significantly faster than standard
SQLiteDatabase#insertmethods. - Simplicity: Follows a "convention over configuration" approach, requiring minimal annotations and often working without needing no-argument constructors.
- Automatic Schema Management: Supports automatic table creation and intelligent column detection (automatically adding new fields to the database when models change).
- Relationship Mapping: Supports persisting and recovering entity relationships (one-to-one, one-to-many, etc.) by marking relationship types on entity properties.
- Type Support: Automatically maps Java types to SQLite types (
TEXT,REAL,INTEGER,BLOB) and handles serialized containers likeDate,ArrayList, andVector.