extended criteria with entityName