Add FIXME to remember to change the query and avoid to retrieve all resources
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
This commit is contained in:
parent
f7ec08f6ba
commit
599a27290c
1 changed files with 3 additions and 1 deletions
|
|
@ -119,7 +119,9 @@ public class ResourceDAO extends IntegrationEntityDAO<Resource> implements
|
|||
public List<Resource> findSatisfyingAllCriterions(
|
||||
Collection<? extends Criterion> criteria,
|
||||
boolean limitingResource) {
|
||||
|
||||
// FIXME don't query all resources. One possible solution is to do a
|
||||
// query for the first criteria and then filter in memory for the
|
||||
// remaining
|
||||
return selectSatisfiyingAllCriterions(new ArrayList<Resource>(
|
||||
getResources()), criteria, limitingResource);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue