Re: Smart Count

2003-11-10 Thread Daniel R. Ambrosio
Hi Olli, Thanks a lot! That´s exactly what I needed! :) Cheers [EMAIL PROTECTED] wrote: Hello Daniel, -Original Message- From: Daniel R. Ambrosio [mailto:[EMAIL PROTECTED] What would be the smarter way to do a count on an entity based on a criteria? I believe that getting the Colle

RE: Smart Count

2003-11-07 Thread Ron Gallagher
CTED] Sent: Thursday, November 06, 2003 4:56 PM To: OJB Users List Subject: Smart Count Hello everyone, What would be the smarter way to do a count on an entity based on a criteria? I believe that getting the Collection (using getCollectionByQuery()) and then size() is not the best way to that using

RE: Smart Count

2003-11-07 Thread oliver . matz
Hello Daniel, > -Original Message- > From: Daniel R. Ambrosio [mailto:[EMAIL PROTECTED] > > What would be the smarter way to do a count on an entity based on a > criteria? > > I believe that getting the Collection (using > getCollectionByQuery()) and > then size() is not the best way

Smart Count

2003-11-06 Thread Daniel R. Ambrosio
Hello everyone, What would be the smarter way to do a count on an entity based on a criteria? I believe that getting the Collection (using getCollectionByQuery()) and then size() is not the best way to that using OJB is it? Cheers, Dani -