UPDATE_ROW_CONFLICT
Dear all,
I get a great problem that I can't update records in dataprovider, I got the following message
"java.lang.RuntimeException: Number of conflicts while synchronizing: 5 SyncResolver.UPDATE_ROW_CONFLICT row 5 attempt to update a row that has been updated or deleted by another user"
And the code is as follows-
try {
getSessionBean1().getAbcRowSet().setObject(1, "123");
getSessionBean1().getAbcDataProvider().refresh();
if (getSessionBean1().getAbcDataProvider().cursorFirst()) {
do {
getSessionBean1().getAbcDataProvider().setValue("status", "1");
} while (getSessionBean1().getAbcDataProvider().cursorNext());
}
getSessionBean1().getAbcDataProvider().commitChanges();
getSessionBean1().getAbcDataProvider().refresh();
} catch (Exception e) {
info (""+e);
}

