cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dzmitry Kazimirchyk (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CAY-1798) ROP: Reverse relationships of prefetched entity objects are not filled during server to client objects conversion
Date Wed, 09 Oct 2013 09:25:50 GMT

    [ https://issues.apache.org/jira/browse/CAY-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790179#comment-13790179
] 

Dzmitry Kazimirchyk edited comment on CAY-1798 at 10/9/13 9:25 AM:
-------------------------------------------------------------------

Sorry for the long delay... I've just committed adjusted to use ArcProperty.getComplimentaryReverseArc()
patch version to trunk. If it still can be included into 3.1 at this stage, I'll be happy
to port it.


was (Author: demitri):
Sorry for the long delay... I've just committed adjusted to use ArcProperty.getComplimentaryReverseArc()
patch version to trunk. If it is still can be included into 3.1 at this stage, I'll be happy
to port it.

> 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
>            Assignee: Dzmitry Kazimirchyk
>         Attachments: CAY-1798.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message