I'm trying to convert an old Torque site to version 4. I'm running into a
problem with using a count() function. The code looks like this:
Criteria crit = getCriteriaDogsWithAllTitles( titles, year );
SummaryHelper summary = new SummaryHelper();
summary.addAggregate( "count",
|>
|Jay Bourland wrote:
Hi Thomas - Here's the problem code. The plain select works fine, but asking
for the count causes an error to be thrown if I use the non-hack method.
/**
* Get a List of the dogs that earned all of a list of titles in a given year
* @param titles array of titles to be searched.
* @
> Hi Thomas - Here's the problem code. The plain select works fine,
> but asking for the count causes an error to be thrown if I use the
> non-hack method.
I think I have found and fixed the problem. If you want you can try the
current trunk.
Thanks for reporting the error !
Thomas
>
>/*
Thomas - I have verified that the code now runs clean. Thank you for fixing it.
And thank you for reviving this project. I looked at migrating to Hibernate or
one of the other ORM's but I really like Torque much better.
Jay
On Jun 24, 2013, at 1:30 AM, Thomas Fox wrote:
>> Hi Thomas - Here'