Does anyone know how to implement a DatabaseHelper on Android to usu ORM?
Asked
Active
Viewed 156 times
-1
-
What specifically do you need to know how to do? – ahodder Sep 20 '12 at 22:00
-
wel I was reading about using orm in android, and I want to map mai classes without having to create manualy my tables on sqlite – B. TIger Sep 20 '12 at 22:13
-
2Start here: http://ormlite.com/android/examples/ – ahodder Sep 20 '12 at 22:15
-
The example on that site are fairly good at covering the basics. just mimic what is there and change is as you need to. Soon it will all make sense. – ahodder Sep 20 '12 at 22:15
-
Nice! Will add ORMLite to my "things to read and investigate" list!!! Haven't come across it before! – 0909EM Sep 20 '12 at 22:24
-
Thanks man put this on a answer so I can accept it – B. TIger Sep 20 '12 at 22:27
2 Answers
1
I recommend start with The tutorials.. They are nicely written and should help you out fairly well.

ahodder
- 11,353
- 14
- 71
- 114
0
Think you should use SQLite and maybe look here as a starter? Alternatively use an object database (DB4O perhaps?) - Otherwise this post appears to duplicate this which talks about hibernate for Android - I'd say it's overkill, but I'd be tempted to try DB4O!
-
I dunno... ORMite really helped me grasped SQLite. I found it easier to understand than Android's SQLite api. And @Gray is very active on here, which helps in a pinch. – ahodder Sep 20 '12 at 22:14
-
I found the SQLite api hard to understand at first... I'd be really tempted to play with DB4O. Its interesting at the very least and I've been looking for places to use it... – 0909EM Sep 20 '12 at 22:21