cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <>
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
             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:
ObjectContext nested = runtime.newContext(parentContext);
ObjectSelect.columnQuery(Artist.class, Artist.ARTIST_NAME).select(nested);

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

This message was sent by Atlassian JIRA

View raw message