I think CountHelper is in 3.1.1... but if you're looking for an alternative or it doesn't work, you might try getting the current head version and trying the new SummaryHelper class. This didn't quite get into 3.1.1.. but was checked in after the release.
Here's some info on it: http://mail-archives.apache.org/mod_mbox/db-torque-dev/200802.mbox/%3c8f5843b903f59d4c8c6806bb49a39119057d7...@dukece-mail3.dukece.com%3e > -----Original Message----- > From: Ludwig Magnusson [mailto:lud...@itcatapult.com] > Sent: Monday, May 03, 2010 10:19 AM > To: 'Apache Torque Users List' > Subject: Count using torque 3.1.1 > > Hi! > > How can I create a SQL count statement using torque 3.1.1. Counthelper is > not available. > > /Ludwig DukeCE Privacy Statement: Please be advised that this e-mail and any files transmitted with it are confidential communication or may otherwise be privileged or confidential and are intended solely for the individual or entity to whom they are addressed. If you are not the intended recipient you may not rely on the contents of this email or any attachments, and we ask that you please not read, copy or retransmit this communication, but reply to the sender and destroy the email, its contents, and all copies thereof immediately. Any unauthorized dissemination, distribution or copying of this communication is strictly prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org For additional commands, e-mail: torque-user-h...@db.apache.org