// occured, howwever insert results needs to have at least one
// "FeatureId" eliement, sp
// we create an FeatureId with an empty fid
List insertedFeatures = result.getInsertedFeatures();
if (insertedFeatures != null && insertedFeatures.isEmpty()) {
result.addInsertedFeature(null, filterFactory.featureId("none"));
}
return result;
// we will commit in the writeTo method