SummaryHelper not setting replacements

2013-06-09 Thread Jay Bourland
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",

RE: SummaryHelper not setting replacements

2013-06-12 Thread Thomas Fox
|> |Jay Bourland wrote:

Re: SummaryHelper not setting replacements

2013-06-20 Thread Jay Bourland
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. * @

Re: SummaryHelper not setting replacements

2013-06-24 Thread Thomas Fox
> 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 > >/*

Re: SummaryHelper not setting replacements

2013-06-24 Thread Jay Bourland
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'