开发者

How to insert an Object into DB

开发者 https://www.devze.com 2023-02-21 18:20 出处:网络
Hi Iam new to android.i know insertion of strings into SQlite DB,But i want to insert an Object 开发者_如何学Pythoninto DataBase.Please tell me the way.you have to map the object into tables and colum

Hi Iam new to android.i know insertion of strings into SQlite DB,But i want to insert an Object 开发者_如何学Pythoninto DataBase.Please tell me the way.


you have to map the object into tables and columns or serialize it into a blob.

relational databases don't know anything about objects. it's called 'object-relational impedence mismatch'.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号