[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.
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
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.
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.
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.
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.
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
> 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.
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-tp3870305p3870305.html
Sent from the Cayenne - User mailing list archive at Nabble.com.
10 matches
Mail list logo