You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2017/09/11 10:54:00 UTC
[jira] [Closed] (CAY-2363) ColumnSelect: unable to use from nested
context
[ https://issues.apache.org/jira/browse/CAY-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev closed CAY-2363.
--------------------------------
Resolution: Fixed
Fix Version/s: 4.1.M1
4.0.B2
*4.1*: https://github.com/apache/cayenne/commit/518eb2fe495a5dd22c4b95958fba79f7821d49ae
*4.0*: https://github.com/apache/cayenne/commit/a07482cc38661a227ee94a3ee2d140b6b794a912
> 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
> Fix For: 4.0.B2, 4.1.M1
>
>
> 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)