We have a myGeodatabaseFeatureTable joined related with two another tables. I can add, I can edit, but I can't delete feature from this table.
myGeodatabaseFeatureTable.canDelete(featureId); // true
myGeodatabaseFeatureTable.deleteFeature(featureId); // AndroidRuntime: FATAL EXCEPTION
java.lang.RuntimeException: Abort due to constraint violation
at com.esri.core.geodatabase.GeodatabaseFeatureTable.nativeDeleteRows(Native Method)
ibespalov - To test whether this issue is with the relationship class itself or with the Android API, would you open the feature service in ArcMap or ArcGIS Online and try performing the delete there to see if it is successful?
We got solution for this problem. Database developer (not me) removed some relations, and now it works. But my question is still opened: why release SDK returns fatal RuntimeException, but not TableException. Whyreturns Thanks.