if (reader.isEndElement()) //table end-element { if (axBcStack.count() > 0) { if (document!= null) { //In update mode this.deleteUntouchedSubRecords(currentEntity,_mapPolicy); }