且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何存储对象为在Android的SQLite数据库?

更新时间:2022-02-21 06:14:00

如果你想存储Java对象,尝试用的系列化和 BLOB存储而不是创建的OR映射的。当然,存储序列化的对象是不推荐。有很多的知名的情况下,是个头疼的那些类型的设计数据库的工作。

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.