We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
restoreData()方法里面 转移数据的时候,抛出异常, android.database.sqlite.SQLiteConstraintException: 表.增加的字段 may not be NULL (code 19) 数据转移失败,新表为空 ,temp表 未删除, 如何解决 啊 大神!!!!!
The text was updated successfully, but these errors were encountered:
你开启debug看看报什么错 我这面报的错 加上compile 'net.zetetic:android-database-sqlcipher:3.5.6' 这个库成功了。但是包会增加8M 好些个.so文件
Sorry, something went wrong.
@836986836 抱歉,来晚了 ,你可以看看这个 greenrobot/greenDAO#17 这个是由于greenDAO 3.0 生成的字段添加了非空约束。字段的类型设置为基本类型(如:int)默认会添加非空约束,字段类型设置为对象类型(如:Integer)默认不会添加非空约束,而且最终生成的sql会使用对象类型。
No branches or pull requests
restoreData()方法里面 转移数据的时候,抛出异常,
android.database.sqlite.SQLiteConstraintException: 表.增加的字段 may not be NULL (code 19)
数据转移失败,新表为空 ,temp表 未删除, 如何解决 啊 大神!!!!!
The text was updated successfully, but these errors were encountered: