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 2013/05/16 20:01:20 UTC

[jira] [Commented] (CAY-1792) [PATCH] Supply additional factory methods for generic SelectQueries

    [ https://issues.apache.org/jira/browse/CAY-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659775#comment-13659775 ] 

Andrus Adamchik commented on CAY-1792:
--------------------------------------

Ah, I remember now ... IIRC we added SelectQuery.dataRowQuery(..) that solves the problem of result being of different type than root class. And the rest of the static methods were added for symmetry I guess. So the static methods are here to stay.
                
> [PATCH] Supply additional factory methods for generic SelectQueries
> -------------------------------------------------------------------
>
>                 Key: CAY-1792
>                 URL: https://issues.apache.org/jira/browse/CAY-1792
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 3.1B1
>            Reporter: Joerg Schoenfisch
>            Priority: Minor
>              Labels: patch
>         Attachments: SelectQuery.java.patch
>
>
> The class SelectQuery only contained a factory method for one generic constructor. This patch adds two methods for the other constructors.

--
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