How are you enhancing your entities and can you post the contents of your
persistence.xml?
On Dec 27, 2011 1:37 PM, "Pawel Veselov" <pawel.vese...@gmail.com> wrote:

> Hi.
>
> On Tue, Dec 27, 2011 at 8:42 AM, Pinaki Poddar <ppod...@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
> >
>

Reply via email to