Re: select over PKs

2012-04-02 Thread gilbertoca
[1] http://cayenne.apache.org/doc/api/org/apache/cayenne/query/NamedQuery.html [2] http://code.google.com/p/construtor/source/browse/trunk/park-samples/park-cayenne/src/test/java/park/model/VehicleTest.java -- View this message in context: http://cayenne.195.n3.nabble.com/select-over-PKs-tp3870305p3878913.html Sent from the Cayenne - User mailing list archive at Nabble.com.

Re: select over PKs

2012-04-02 Thread Aristedes Maniatis
On 2/04/12 5:49 PM, Sheldon wrote: If I specify a pageSize than I get any PK of objects. I want, that I know a list of PKs and get their Objects. I suspect that the suggestion here is to think about using Cayenne in a different way. What you are trying to do often suggests that you are working

Re: select over PKs

2012-04-02 Thread Sheldon
If I specify a pageSize than I get any PK of objects. I want, that I know a list of PKs and get their Objects. Sheldon -- View this message in context: http://cayenne.195.n3.nabble.com/select-over-PKs-tp3870305p3876993.html Sent from the Cayenne - User mailing list archive at Nabble.com.

Re: select over PKs

2012-03-30 Thread Michael Gentry
e: > Hello Michael, > > I want to use a SelectQuery (but without using of a String "select ...") > > Thanks > Sheldon > > -- > View this message in context: > http://cayenne.195.n3.nabble.com/select-over-PKs-tp3870305p3871032.html > Sent from the Cayenne - User mailing list archive at Nabble.com.

Re: select over PKs

2012-03-30 Thread Sheldon
Hello Michael, I want to use a SelectQuery (but without using of a String "select ...") Thanks Sheldon -- View this message in context: http://cayenne.195.n3.nabble.com/select-over-PKs-tp3870305p3871032.html Sent from the Cayenne - User mailing list archive at Nabble.com.

Re: select over PKs

2012-03-30 Thread Michael Gentry
I want to fetch the related objects of these keys. > Is this possible? > > Sheldon > > -- > View this message in context: > http://cayenne.195.n3.nabble.com/select-over-PKs-tp3870305p3870799.html > Sent from the Cayenne - User mailing list archive at Nabble.com.

Re: select over PKs

2012-03-30 Thread Sheldon
Yes I mean primary key. For example I have a list of primary keys (that should not be random list keys) and I want to fetch the related objects of these keys. Is this possible? Sheldon -- View this message in context: http://cayenne.195.n3.nabble.com/select-over-PKs-tp3870305p3870799.html Sent

Re: select over PKs

2012-03-30 Thread Michael Gentry
> But I want to do this like: > Cayenne.objectForPK(context, Class, List of PKs) > > Sheldon > > -- > View this message in context: > http://cayenne.195.n3.nabble.com/select-over-PKs-tp3870305p3870305.html > Sent from the Cayenne - User mailing list archive at Nabble.com.

Re: select over PKs

2012-03-30 Thread Andrew Lindesay
ist of PKs) Sheldon -- View this message in context: http://cayenne.195.n3.nabble.com/select-over-PKs-tp3870305p3870305.html Sent from the Cayenne - User mailing list archive at Nabble.com. -- Andrew Lindesay www.silvereye.co.nz

select over PKs

2012-03-30 Thread Sheldon
/select-over-PKs-tp3870305p3870305.html Sent from the Cayenne - User mailing list archive at Nabble.com.