cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Lindesay <...@lindesay.co.nz>
Subject Re: select over PKs
Date Fri, 30 Mar 2012 09:42:52 GMT
Hi Sheldon;

I think you mean "primary keys" rather than "private keys"?

I have recently (re)put some material I have written around Cayenne 
(+more) online;

	http://www.silvereye.co.nz/lestuff.html

You may find something ~similar~ to what you are looking for in;

	LECayHelper.queryForObjectIds(..)

Regards;

On 30/03/12 10:08 PM, Sheldon wrote:
> Hello,
>
> can I fetch data from db with a list of private keys? One possibility is to
> do this with SQLTemplate and than create a SELECT statement.
> 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.
>


-- 
Andrew Lindesay
www.silvereye.co.nz

Mime
View raw message