7

I need some help to store a Object in an SQLite database using Android.I don't know whether it is possible or not.If it is possible means please give some code snippets to create a table which can store an object.

Regards, Rajapandian.K

OMG Ponies
  • 314,254
  • 77
  • 507
  • 490
Rajapandian
  • 9,127
  • 24
  • 72
  • 86

1 Answers1

10

If you want to store a Java object, try with serialization and BLOB storing instead of creating an OR Mapping. Certainly storing serialized objects is not recommendable. There are a lot of well known cases where is a headache to work with those kind of designed databases.

daniel
  • 397
  • 3
  • 5