*/
public static NSArray selectObjectsOfEntityForSqlWithBindings( EOEditingContext ec, String entityName, String query, boolean refreshesCache, Integer fetchLimit, ERXSQLBinding... bindings ) {
EODatabaseContext context = databaseContextForEntityName(ec,entityName);
EOEntity entity = EOUtilities.entityNamed(ec, entityName);
EOSQLExpression expression = context.adaptorContext().adaptor().expressionFactory().expressionForEntity( entity );
String proceccedQuery = processedQueryString(query, expression, bindings);
expression.setStatement(proceccedQuery);
EOFetchSpecification spec = new EOFetchSpecification( entityName, null, null );
spec.setRefreshesRefetchedObjects(refreshesCache);
if( fetchLimit != null ) {
spec.setFetchLimit( fetchLimit );