You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "John Huss (JIRA)" <ji...@apache.org> on 2012/12/15 05:54:14 UTC
[jira] [Closed] (CAY-1294) Generify query
[ https://issues.apache.org/jira/browse/CAY-1294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Huss closed CAY-1294.
--------------------------
Resolution: Fixed
Fix Version/s: (was: Undefined future)
3.2M1
> Generify query
> --------------
>
> Key: CAY-1294
> URL: https://issues.apache.org/jira/browse/CAY-1294
> Project: Cayenne
> Issue Type: Improvement
> Components: Core Library
> Reporter: Ari Maniatis
> Assignee: John Huss
> Fix For: 3.2M1
>
> Attachments: 0001-Add-type-parameter-to-SelectQuery-to-indicate-query-.patch, 0002-Minimize-compiler-warnings-about-missing-type-parame.patch
>
>
> Although most of the generics work has been completed for 3.0, 'query' is still largely untouched. From a mailing list post by Andrus, here are possible query result types:
> ? extends Persistent
> ? extends Object (unfinished POJO implementation)
> CayenneDataObject (as in "generic persistence" [1])
> DataRow
> scalar
> Object[] (a mix of scalars and any of the above)
> Certainly having a typed result list would be very useful in the most common case of <? extends Persistent>.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira