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