openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruslan <rusl...@gmail.com>
Subject Re: OneToMany and Lazy fetch : is it still broken?
Date Mon, 05 Jan 2009 22:52:33 GMT
Hi Andrei,

Did you enhance your entity classes? It might not work because of that.

On Mon, Jan 5, 2009 at 2:37 PM, Andrei Tchijov <andrei@tchijov.com> wrote:

>
> I have seen few posts about this issue. It looks like I am experiencing it
> as
> well.
>
> I am using OpenJPA 1.2/Java 1.5/MySQL 5.0.  I am enchanting my classes
> during build time using Ant task. If I am using "Eager" fetch method, my
> code works just fine.  If I am using "Lazy" method, then relation always
> null (and as far as I can see from logs, OpenJPA does not even bother to
> issue SQL query to try to fetch it).
>
> You comments will be highly appreciated,
>
> Andrei
> --
> View this message in context:
> http://n2.nabble.com/OneToMany-and-Lazy-fetch-%3A-is-it-still-broken--tp2115281p2115281.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
>

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