I have two tables, one is Users(created by backendless) and one is ‘skill’, Users table has one to many relation with skills. I have inserted a user’s relation value using console. but when i did it with code it gave an error. “Wrong entity name character case for: Skills. Use existing table skills” here is my code
and my
BackendlessUser newUser = new BackendlessUser();
newUser.setEmail(userEmail);
newUser.setPassword(userPassword);
newUser.setProperty("name", userName);
newUser.setProperty("affiliation", userAffiliation);
List<Skills> userSkillsObjectList = getUsersSkillsObjectList(userEnteredSkillList);
newUser.setProperty("Skills",userSkillsObjectList);
Backendless.UserService.register(newUser, new AsyncCallback<BackendlessUser>() {
@Override
public void handleResponse(BackendlessUser response) {
Toast.makeText(getBaseContext(), "Registered!!!", Toast.LENGTH_SHORT).show();
}
@Override
public void handleFault(BackendlessFault
Toast.makeText(getBaseContext(), fault.getMessage(), Toast.LENGTH_LONG).show();
}
});