cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-1792) [PATCH] Supply additional factory methods for generic SelectQueries
Date Thu, 16 May 2013 18:01:20 GMT

    [ 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

Mime
View raw message