# An Android Database Abstraction Layer Using Native SQL and RxJava

DevFeed: [An Android Database Abstraction Layer Using Native SQL and RxJava](<https://devfeed.tech/articles/sqlbrite-dao-25466.md>)

Original publisher: [Read original article](<https://hannesdorfmann.com/android/sqlbrite-dao/>)

Author: Hannes Dorfmann

Published: 2015-06-24T09:00:00Z

Content type: tutorial

Language: en

Sources: [Hannes Dorfmann](<https://devfeed.tech/sources/hannes-dorfmann.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [RxJava](<https://devfeed.tech/topics/rxjava.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [Object-relational mapping](<https://devfeed.tech/topics/orm.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [database](<https://devfeed.tech/tags/database.md>), [orm](<https://devfeed.tech/tags/orm.md>), [rxjava](<https://devfeed.tech/tags/rxjava.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>)

## AI overview

The article introduces the motivation for creating SQLBrite DAO, an Android database abstraction layer. It describes using a local SQLite database for chat messages and evaluates database libraries based on native SQL and RxJava support, while criticizing ORM-specific query languages and schemas.

## Source excerpt

Earlier this year, one day before Valentine's Day to be precise, I had the glorious idea (ironie) to surprise my lovely girlfriend with a special android app on Valentine's Day. Who said computer science can't be romantic? The idea was simple: I wanted to build an android app that imitates and looks like Tinder but instead of displaying real people nearby, I faked everything so that only my profile gets displayed so she only can choose me.