hi guys
i want to update and delete some data from database in a gwt-based class according to code below :
(i copy and paste all codes from documentations)
why is this for ?
thanks in advance
i want to update and delete some data from database in a gwt-based class according to code below :
(i copy and paste all codes from documentations)
Code: Select all
Problem is that always onFailure method calls(i initialize tables correctly before ) and nothing delete or update from database. // Update value
security.setName("some name changed");
metadataService.updateValue(security.restoreToMap(), new AsyncCallback<Object>() {
@Override
public void onSuccess(Object result) {
}
@Override
public void onFailure(Throwable caught) {
}
});
// Delete value
metadataService.deleteValue(security.restoreToMap(), new AsyncCallback<Object>() {
@Override
public void onSuccess(Object result) {
}
@Override
public void onFailure(Throwable caught) {
}
});
}
why is this for ?
thanks in advance