bug 8104: use correct SearchBuilder

status 8104: resolved fixed
This commit is contained in:
anthony 2011-01-19 11:50:28 -08:00
parent 9b8387fe8c
commit 1e21455496
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ public class HostDaoImpl extends GenericDaoBase<HostVO, Long> implements HostDao
@Override
public List<HostVO> listAllBy(Host.Type type, long dcId) {
SearchCriteria<HostVO> sc = TypeDcStatusSearch.create();
SearchCriteria<HostVO> sc = TypeDcSearch.create();
sc.setParameters("type", type.toString());
sc.setParameters("dc", dcId);