openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "catalina wei" <catalina....@gmail.com>
Subject Re: EAGER vs. LAZY loading - weird behaviour in OpenJPA 1.0.1
Date Thu, 10 Jul 2008 01:53:49 GMT
Hi,
You are experiencing the problem described in JIRA issue OPENJPA-241 (this
issue is still OPEN).

Catalina

On Tue, Jul 8, 2008 at 5:41 AM, Beniamin Mazan <it@mazan.pl> wrote:

>
>
>
> Ignacio Andreu wrote:
> >
> > As far as I know, if you use the eager strategy is normal that OpenJPA
> > generates queries to load the diferent relations from the database. If
> you
> >
>
> You're right of course. But OpenJPA generate queries to load object that
> are
> already loaded. For example if loading Product causes loading RequestLog I
> expected that OpenJPA has no need to query for Product which is owner of
> RequestLog and is loaded to Context. Especially when I use bi-directional
> relation.
> Am I wrong ?
>

>
> -----
> thanks, Beniamin
> My homesite -  http://www.mazan.pl http://www.mazan.pl
> --
> View this message in context:
> http://n2.nabble.com/EAGER-vs.-LAZY-loading---weird-behaviour-in-OpenJPA-1.0.1-tp364201p364227.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message