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] [Updated] (CAY-1798) ROP: Reverse relationships of prefetched entity objects are not filled during server to client objects conversion
Date Thu, 10 Oct 2013 14:28:50 GMT

     [ https://issues.apache.org/jira/browse/CAY-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dzmitry Kazimirchyk updated CAY-1798:
-------------------------------------

    Fix Version/s: 3.2M2

> 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
>             Fix For: 3.2M2
>
>         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