cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie <ja...@stimulussoft.com>
Subject Re: Relationships Not Propagated
Date Sat, 19 Sep 2009 15:28:23 GMT
Never mind. I figured it out. SQLResultSetMapping is now SQLResult.

Jamie wrote:
> Hi Michael
>
> Next question. I am trying to execute a query like:
>
> select distinct customer.companyName c, max(date) d from purchase 
> inner join customer on purchase.customerid = customer.id group by 
> customer.companyName"
>
> In doing so, I figured out I might need to use the SQLResultSetMapping 
> class to get at c and d, but this class does exist in the latest 
> cayenne-server-3.0M6.jar. What is the recommended approach?
>
> Thanks
>
> Jamie
>


Mime
View raw message