# greenrobot/greenDAO

greenDAO is a light & fast ORM solution for Android that maps objects to SQLite databases.

Repository: https://github.com/greenrobot/greenDAO
Canonical: https://ross.abutalabs.com/products/greendao
Homepage: http://greenrobot.org/greendao/
Language: Java
License Family: other
Last push: 2024-04-30T05:30:59+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5429, "days_push": 855, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12588, forks 2853 (observed 2026-08-28T04:10:59.379560+00:00)

## What it is
greenDAO is a lightweight, high-performance ORM for Android that maps Java objects to SQLite databases with a simple annotation-based API. The project is no longer actively maintained, with greenrobot recommending its successor ObjectBox for new apps.

## Use cases
- persist Java objects to SQLite on Android without writing SQL
- run fast queries with joins across entities via QueryBuilder
- encrypt the local app database with SQLCipher
- map custom classes or enums to database columns
- migrate an existing greenDAO app to ObjectBox via DaoCompat

## When to choose
- maintaining a legacy Android app already built on greenDAO
- you need a tiny (<150KB), pure-Java ORM for Android SQLite
- you want SQLCipher-encrypted local storage with an ORM API

## When to avoid
- starting a new Android project - use ObjectBox, Room, or SQLDelight instead
- you need ongoing updates, bug fixes, or modern Android/Kotlin support
- you need a database beyond SQLite on non-Android platforms

## Facets
- artifact type: library
- maturity: abandoned
- function: orm, database, database-driver
- domain: databases, mobile-development, android-tools
- platform: jvm
- tags: sqlite, android-orm, sqlcipher, code-generation, gradle-plugin, not-maintained, android

## Member repositories
- greenrobot/greenDAO (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:59.379560+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:56.848848+00:00, confidence not recorded.
  - readme: https://github.com/greenrobot/greenDAO (fetched 2026-08-28T04:10:59.379560+00:00, sha 57a272dd0a47)
  - homepage: http://greenrobot.org/greendao/ (fetched 2026-08-29T08:10:43.218675+00:00, sha e3e0a1a354e9)
  - site_page: https://greenrobot.org/eventbus/documentation/delivery-threads-threadmode (fetched 2026-08-29T08:10:43.227076+00:00, sha 7ba65dc1fa7c)
  - site_page: https://greenrobot.org/eventbus/documentation/configuration (fetched 2026-08-29T08:10:43.228947+00:00, sha d3e960eab436)
  - site_page: https://greenrobot.org/eventbus/features (fetched 2026-08-29T08:10:43.221613+00:00, sha 4fa06b05822b)
  - site_page: https://greenrobot.org/eventbus/documentation (fetched 2026-08-29T08:10:43.223538+00:00, sha ce9b1a155589)
  - site_page: https://greenrobot.org/eventbus/documentation/how-to-get-started (fetched 2026-08-29T08:10:43.225319+00:00, sha 4edddab93803)
  - site_page: https://greenrobot.org/eventbus/documentation/configuration/sticky-events (fetched 2026-08-29T08:10:43.230601+00:00, sha 685e2caa0e2d)
  - site_page: https://greenrobot.org/eventbus/documentation/priorities-and-event-cancellation (fetched 2026-08-29T08:10:43.232323+00:00, sha a30f8bcf0c67)
  - site_page: https://greenrobot.org/eventbus/documentation/subscriber-index (fetched 2026-08-29T08:10:43.233964+00:00, sha 7fa93e023717)
- Data as of 2026-08-30T08:39:29.467469+00:00.
