You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Dzmitry Kazimirchyk (JIRA)" <ji...@apache.org> on 2013/02/21 11:46:13 UTC

[jira] [Created] (CAY-1798) ROP: Reverse relationships of prefetched entity objects are not filled during server to client objects conversion

Dzmitry Kazimirchyk created CAY-1798:
----------------------------------------

             Summary: ROP: Reverse relationships of prefetched entity objects are not filled during server to client objects conversion
                 Key: CAY-1798
                 URL: https://issues.apache.org/jira/browse/CAY-1798
             Project: Cayenne
          Issue Type: Bug
          Components: ROP
    Affects Versions: 3.1B2
            Reporter: Dzmitry Kazimirchyk


When doing queries with prefetches from client, reverse relationships of prefetched objects are not filled immediately after query execution causing new queries to server when accessed.

E.g.: say we execute query for all artists with prefetch Artist -> Paintings. After query execution if we do artist.getPaintings().get(0).getArtist() then new db query will be executed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira