db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: Count records
Date Fri, 14 Oct 2005 11:34:03 GMT





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

      Thomas

John Dunne <jdunne@dbamsystems.com> 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: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message