cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2363) ColumnSelect: unable to use from nested context
Date Fri, 08 Sep 2017 13:37:02 GMT
Nikita Timofeev created CAY-2363:
------------------------------------

             Summary: ColumnSelect: unable to use from nested context
                 Key: CAY-2363
                 URL: https://issues.apache.org/jira/browse/CAY-2363
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 4.0.B1, 4.1.M1
            Reporter: Nikita Timofeev
            Assignee: Nikita Timofeev


Queries like this always failing:
{code}
ObjectContext nested = runtime.newContext(parentContext);
ObjectSelect.columnQuery(Artist.class, Artist.ARTIST_NAME).select(nested);
{code}

{{ObjectContextQueryAction}} tries to cast result to {{Persistent}} and that is obviously
invalid in this case.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message