-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
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
queryForLong from database failed: SELECT COUNT(*) FROM xxxx
WHERE _Id
= ?
#149
Comments
Sorry @SunZeF, I'm not an Android specialist so I have no idea what you are talking about. The version-number being upgraded is not a ORMLite error right? It seems like an Android problem so I would think that a SO post to https://android.stackexchange.com/ may be in order. |
@SunZeF when you say "version number", are you referring to the build number of the Android app? If yes, then it's outside the scope of OrmLite and it's just a matter of increasing that number in your build script/properties file. |
|
The version is 41 after the upgrade ,emmmm, a small number of mobile phones have individual library creation failures data cannot be stored |
75473992 |
Hello ,
There are comments that the table creation failed, and the version number needs to be upgraded or the app needs to be uninstalled and reinstalled ,Is there any other solution? For the code below
public void add(List bean) {
if (bean == null || bean.isEmpty()) {
return;
}
try {
for (xxxx entity : bean) {
noticeDao.createOrUpdate(entity);
}
} catch (Exception e) {
e.printStackTrace();
}
}
The text was updated successfully, but these errors were encountered: