Hi,

To my knowledge, the Maven plugin works. But I'm not an expert with
it. You can also directly call the ant enhance task from Maven
somehow. Again, sadly, I'm no Maven expert.

Property access is a bit intrusive into your model IMO, so some
alternative that doesn't require that sort of change seems like it'd
be better.

Meanwhile, we should also beef up our support for lazy fields one way
or another in that environment.

-Patrick

On Nov 1, 2007 3:06 PM, Marc Siegel <[EMAIL PROTECTED]> wrote:
> Hi Patrick,
>
> This is the second time you've responded just immediately after I
> uncovered the source of the OpenJPA issue.
>
> I assume you are referring to
> file:///Developer/Java/docs-apache-openjpa-1.0.0/manual/ref_guide_pc_enhance.html#ref_guide_pc_enhance_unenhanced_types
>
> I am using
>   - Java 5
>   - field access
>   - no java agent specified
>   - building w/ Maven
>
> What is the best way to resolve this?
>   - should I move to property-based access?
>   - Is the maven plugin for build-time enhancement working?
>   - something else?
>
> Thanks in advance,
> -Marc
>
>
>
> On 11/1/07, Patrick Linskey <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Are you using the OpenJPA enhancer? If not, are you using field or
> > property access?
> >
> > -Patrick
> >
> > On Nov 1, 2007 2:56 PM, Marc Siegel <[EMAIL PROTECTED]> wrote:
> > > Hi guys,
> > >
> > > Has anybody else ever encountered the problem where
> > > @OneToMany(fetch=FetchType.LAZY) is returning null when the collection
> > > is retrieved, but works correctly after an explicit LEFT FETCH JOIN
> > > query?
> > >
> > > The fact that the LEFT FETCH JOIN works means that my setup can't be
> > > too badly messed up... I am at a loss as to how to proceed here.
> > >
> > > Thanks in advance for any help,
> > > -Marc
> > >
> >
> >
> >
> > --
> > Patrick Linskey
> > 202 669 5907
> >
>



-- 
Patrick Linskey
202 669 5907

Reply via email to