EOEntity entity=EOModelGroup.defaultGroup().entityNamed(entityName);
EOEntity entity=ERXEOAccessUtilities.entityNamed(null, entityName);
    private static synchronized NSArray stringAttributeListForEntityNamed(String entityName) {        // FIXME: this will need to be synchronized if you go full-MT        NSArray result=(NSArray)_attributeKeysPerEntityName.objectForKey(entityName);        if (result==null) {            // FIXME: Bad way of getting the entity.            EOEntity entity=EOModelGroup.defaultGroup().entityNamed(entityName);            NSMutableArray attList=new NSMutableArray();            _attributeKeysPerEntityName.setObjectForKey(attList,entityName);            result=attList;            for (Enumeration e=entity.classProperties().objectEnumerator();e.hasMoreElements();) {                Object property=e.nextElement();                if (property instanceof EOAttribute) {                    EOAttribute a=(EOAttribute)property;                    if (a.className().equals("java.lang.String"))                        attList.addObject(a.name());                }            }        }        return result;    }