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] [Created] (CAY-1848) New method: ObjectContext.selectOne(Select query)
Date Sat, 13 Jul 2013 09:23:48 GMT
Andrus Adamchik created CAY-1848:
------------------------------------

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

Mime
View raw message