You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2014/10/05 13:45:33 UTC
[jira] [Created] (CAY-1958) IdSelect - a new full-featured select
query to get objects by id
Andrus Adamchik created CAY-1958:
------------------------------------
Summary: IdSelect - a new full-featured select query to get objects by id
Key: CAY-1958
URL: https://issues.apache.org/jira/browse/CAY-1958
Project: Cayenne
Issue Type: Task
Reporter: Andrus Adamchik
Assignee: Andrus Adamchik
Fix For: 3.2.M2
This is to fill the gap left between ObjectIdQuery (hard to use, odd caching model, no generics support, intended for internal use) and Cayenne.objectForPk() (hardcoded caching model , not a query):
Artist a = IdSelect.query(Artist.class, 3).useLocalCache("artists").selectOne(context);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)