android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow
android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=2, totalRows=3解决办法:Cursor cursor = db.query(TABLE, null, "id=?", new String[]{id}, null, null, null)
·
android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=2, totalRows=3
解决办法:
Cursor cursor = db.query(TABLE, null, "id=?", new String[]{id}, null, null, null); 设置一下CursorWindow的大小即可
CursorWindow cw = new CursorWindow("test", 5000000);
AbstractWindowedCursor ac = (AbstractWindowedCursor) cursor;
ac.setWindow(cw);
有疑问的可以下方留言,相互学习,我是心哥说编程,致力于成为一个编程大牛编程爱好者。
更多推荐
已为社区贡献1条内容
所有评论(0)