The class org.apache.torque.util.CountHelper in the Torque runtime might
provide what you are looking for.

      Thomas

John Dunne <[EMAIL PROTECTED]> schrieb am 14.10.2005 13:02:31:

> Hi All,
>
> Is there a 'light' way to retrieve the number of records that would be
> returned by a query without actually making the query via doSelect() and
> then calling  the size() method on the returned object? I've got records
> that contain thousands of entries and it seems a waste to have to make
> the system create a load of objects that might never be used!
>
> John.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to