openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pawel Veselov <pawel.vese...@gmail.com>
Subject Re: Lazy many-to-many properties don't load on demand? (2.1.1)
Date Tue, 27 Dec 2011 19:36:51 GMT
Hi.

On Tue, Dec 27, 2011 at 8:42 AM, Pinaki Poddar <ppoddar@apache.org> wrote:

> > @ManyToMany(fetch = FetchType.LAZY, mappedBy = "categories")
> > public Collection<E_App> apps;
>
> change 'public' to 'private'
>

I will try this tonight. Any reason why? I typically access the fields
directly, without getters. Would that not work for any other fields loaded
lazy as well? The only other ones I have declared LAZY are LOBs.

Thank you,
  Pawel.


>
> -----
> Pinaki Poddar
> Chair, Apache OpenJPA Project
>

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