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

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.