Re: Question about GenericDaoBase#searchAndCount method

2019-07-01 Thread Daan Hoogland
lue > > https://www.shapeblue.com > > > From: Anurag Awasthi > Sent: Monday, July 1, 2019 9:43:35 AM > To: dev@cloudstack.apache.org > Subject: Question about GenericDaoBase#searchAndCount method > > Hi Devs, > > I was looking at a bug and observed that I

Re: Question about GenericDaoBase#searchAndCount method

2019-07-01 Thread Rohit Yadav
From: Anurag Awasthi Sent: Monday, July 1, 2019 9:43:35 AM To: dev@cloudstack.apache.org Subject: Question about GenericDaoBase#searchAndCount method Hi Devs, I was looking at a bug and observed that In GenericDaoBase.java#searchAndCount we have the following function - public Pair, Integer

Question about GenericDaoBase#searchAndCount method

2019-06-30 Thread Anurag Awasthi
Hi Devs, I was looking at a bug and observed that In GenericDaoBase.java#searchAndCount we have the following function - public Pair, Integer> searchAndCount(final SearchCriteria sc, final Filter filter) { List objects = search(sc, filter, null, false); Integer count = getCount(