Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8244955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:01:55+00:00 2026-06-07T22:01:55+00:00

I currently have an application, where it’s primary performance issue is using file-based database

  • 0

I currently have an application, where it’s primary performance issue is using file-based database consisted of JSON responses.

I’d like to rewrite my application to use SQLite database feature.
Since I’m lazy, I’d like to use some kind of ORM.

So far I have found only two big ORM libraries:

  • ORMLite
  • GreenDAO ORM
  • DB4O
  • ActiveAndroid

My primary goal is to raise performance on working with data as much as possible

But I’ve found two possible issues with those libraries.

  • ORMLite uses annotations, which is big performance issue in pre-honeycomb due to this bug

  • GreenDAO is using some kind of code generator, and that would slow me down on development as I would have to write generator, and then use generated code. And I don’t very like this idea.

  • DB4O is JPA, which I’ve always considered as slow and heavy on memory usage, therefore unsuitable for low-end devices (remember the Android API v7)


ad @ChenKinnrot:
The estimated load should be sufficient to think about using an ORM.
In my case it is about 25-30 unique tables, and at least 10 table joins (2 – 4 tables at a time). About 300-500 unique fields (columns)


So my questions are:

  1. Should I use ORM/JPA layer in Android application?
  2. If so, what library would you recommend me to use? (and please add some arguments too)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T22:01:57+00:00Added an answer on June 7, 2026 at 10:01 pm

    I’ve used ORMLite and found it straightforward once you got the hang of it (a few hours), quite powerful and didn’t cause any performance problems (app tested in Gingerbread on HTC desire and HTC Hero).

    I will be using it again in any projects I need to use a DB for.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a UINavigationController based application that works just fine. I'd like to
Currently we have developed application using Java 6 based on windows 32bit(Dual core &
I currently have a web application that I would like to scale out using
I currently have an application I'm writing in c# (using .NET) that requires me
Currently I have an application that connects to a Terminal Server over TCP/IP using
I currently have a web-application that implements a rudimentary form of ACL using UNIONs
I currently have an application which uses EF database first which was built against
I currently have a Web Application which is using it's own Permissions table which
I currently have a partial-application function which looks like this: Function.prototype.curry = function() {
We currently have developed an application using WCF. Our clients make connections to different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.