// which is the default. In my case it was called indirectly from ERXEntityClassDescription.Factory.classDescriptionNeededForEntityName
// resulting in locking problems
WOSession s = ERXSession.anySession();
if (s != null) {
ec = s.defaultEditingContext();
}
}
EOModelGroup group;
if (ec == null) {
group = EOModelGroup.defaultGroup();