Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2363

ColumnSelect: unable to use from nested context

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.B1, 4.1.M1
    • Fix Version/s: 4.0.B2, 4.1.M1
    • Component/s: Core Library
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ntimofeev Nikita Timofeev
              Reporter:
              ntimofeev Nikita Timofeev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: