public static void preFetchRelationship(String entityName, String relationshipName, NSArray<?> objects, EOEditingContext ec) {
// EOEntity eoEntity = getEntityModelManager().getEOEntity(entityName);
// EODatabaseContext dc = EODatabaseContext.registeredDatabaseContextForModel(eoEntity.model(), ec);
// EORelationship rel = eoEntity.relationshipNamed(relationshipName);
// batchFetchRelationship(dc, rel, objects, ec, true);
}
databaseContext.batchFetchRelationship(relationship, objectsToBatchFetch, editingContext);
Seems that commenting all prefetches fixed problem with connections closed.
But why?
Best regards,
Vladimir Gadyatskiy
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden