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/07/13 11:23:49 UTC

[jira] [Closed] (CAY-1848) New method: ObjectContext.selectOne(Select query)

     [ https://issues.apache.org/jira/browse/CAY-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-1848.
--------------------------------

    Resolution: Fixed
    
> New method: ObjectContext.selectOne(Select query)
> -------------------------------------------------
>
>                 Key: CAY-1848
>                 URL: https://issues.apache.org/jira/browse/CAY-1848
>             Project: Cayenne
>          Issue Type: Bug
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.2M2
>
>
> 3.2 API for a selecting a single object looks like this:
> X x = Cayenne.objectForSelect(context, query);
> I guess this is a bit cleaner:
> X x = context.selectOne(query)

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