Is your persistent context still active?

 

John

---- 

Who is General Failure, and why is he reading my hard disk?

 

> -----Ursprüngliche Nachricht-----
> Von: Pawel Veselov [mailto:pawel.vese...@gmail.com] 
> Gesendet: Dienstag, 27. Dezember 2011 12:03
> An: users@openjpa.apache.org
> Betreff: Lazy many-to-many properties don't load on demand? (2.1.1)
> 
> Hi.
> 
> I'm using 2.2.1
> 
> I have declared a ManyToMany property, with lazy fetch type 
> (my entities are all property based).
> The property does not load when accessed (the collection is null).
> Setting it to eager loading works, but I don't want (for performance
> reasons) for it to always load.
> 
> Is there something I may be missing?
> 
> Thank you,
>   Pawel.
> 

Reply via email to