You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrew Lindesay (JIRA)" <ji...@apache.org> on 2014/11/19 10:21:33 UTC
[jira] [Closed] (CAY-1427) EJBQL to-many "LEFT JOIN FETCH" Appears
to Refresh to An Empty Result
[ https://issues.apache.org/jira/browse/CAY-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Lindesay closed CAY-1427.
--------------------------------
Resolution: Cannot Reproduce
Fix Version/s: 4.0.M2
I have worked through this and it appears that this problem no longer occurs on 4.0.M2.
> EJBQL to-many "LEFT JOIN FETCH" Appears to Refresh to An Empty Result
> ---------------------------------------------------------------------
>
> Key: CAY-1427
> URL: https://issues.apache.org/jira/browse/CAY-1427
> Project: Cayenne
> Issue Type: Bug
> Components: Core Library
> Reporter: Andrew Lindesay
> Fix For: 4.0.M2
>
> Attachments: FooBarModel.pdf
>
>
> (please see attached PDF diagram)
> The following EJBQL is run against this;
> SELECT f FROM Foo f LEFT JOIN FETCH f.bars WHERE f.fooType = :fooType ORDER BY f.price
>
> The resultant SQL query seems to be bringing in the necessary columns to populate the to-many relationship "bars", but it appears that the to-many relationship is populated as empty when it is not empty.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)