On 25/08/09 5:29 PM, Null kühl wrote:
> also the return of such a query will be a list of clients as List<clients>
> c; , or since am querying for a certain field it can be something like List
> <String> names;
Although you can do what you want by returning DataRows, I strongly advise you avoid that approach while you are learning Cayenne. Instead, just perform the query to return full objects. The whole point of Cayenne is so that you can stop worrying about columns and start thinking in terms of Java objects.
Ari Maniatis
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
This archive was generated by hypermail 2.0.0 : Tue Aug 25 2009 - 04:21:00 EDT