![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
珍惜当下-拥抱明天
挑战自己,追求卓越。
展开
-
FTS中virtual table更新数据失败
一、问题描述项目中使用FTS实现本地数据检索功能,创建以下表:@Overridepublic void onCreate(SQLiteDatabase db) { db.execSQL("CREATE VIRTUAL TABLE IF NOT EXISTS fts_index USING fts4(" + content +","+ ...原创 2019-11-22 15:54:50 · 314 阅读 · 0 评论 -
Attempt to recreate a file for type io.realm.RealmStringRealmProxyInterface
问题产生的情形:当使用Realm数据库的时候,实现了两个继承RealmObject的同名子类,放在不同的包路径下,编译运行报如下错误:Attempt to recreate a file for type io.realm.RealmStringRealmProxyInterface实现的同名不同路径的类:public class RealmString extends Rea...原创 2019-11-19 11:12:31 · 1725 阅读 · 0 评论