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 2010/05/06 22:44:51 UTC
[jira] Created: (CAY-1427) EJBQL to-many "LEFT JOIN FETCH" Appears
to Refresh to An Empty Result
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
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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAY-1427) EJBQL to-many "LEFT JOIN FETCH" Appears
to Refresh to An Empty Result
Posted by "Andrew Lindesay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAY-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Lindesay updated CAY-1427:
---------------------------------
Attachment: FooBarModel.pdf
> 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
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.