We were one variation short.
This commit is contained in:
@@ -362,6 +362,18 @@ public abstract class DepotRepository
|
|||||||
return findAll(type, CacheStrategy.BEST, clauses);
|
return findAll(type, CacheStrategy.BEST, clauses);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A varargs version of {@link #findAll(Class,CacheStrategy,Collection)}.
|
||||||
|
*
|
||||||
|
* @throws DatabaseException if any problem is encountered communicating with the database.
|
||||||
|
*/
|
||||||
|
protected <T extends PersistentRecord> List<T> findAll (
|
||||||
|
Class<T> type, CacheStrategy strategy, QueryClause... clauses)
|
||||||
|
throws DatabaseException
|
||||||
|
{
|
||||||
|
return findAll(type, strategy, Arrays.asList(clauses));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads all persistent objects that match the specified clauses.
|
* Loads all persistent objects that match the specified clauses.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user