Answer the question
In order to leave comments, you need to log in
Android SQLite which ORM framework are you using?
Faced the problem of choosing a lightweight and fast ORM framework for the Android platform. Been using ORMLite for a long time. Faced the problem of the speed of work and the speed of deploying this framework in projects. To do this, I conducted a research of available and popular libraries for working with a database in Android, but even here everything is not so simple. I set myself a certain list of tasks as a basis: lightness, sqlite support, fast integration, high speed.
ORMLite - taken as a basis, because for a long time I was afraid to touch anything else
Pros:
Answer the question
In order to leave comments, you need to log in
Previously used OrmLite. True, I did not notice any problems when writing DAO.
For GreenDAO there is a DAO class generator.
Here, either rely on reflection and get slow work or write them yourself, getting a lot of monotonous code.
Then used SQLBrite and DAO to it.
Now I use Stor.io for a change , but this is just a wrapper over SQLite, like SQLBrite without DAO.
Timings of work:
10_000 elements with nested 10 elements in each.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question