Hello,

we have a performance problem caused by an eager load of the objects

we have put the annotations in this way :


  | @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = 
"manager")
  |     public List<Employee> getEmployees() {
  | 
  | ...
  | 

but we cannot make  lazy loading work

I have read some things about ejb3/hibernate limitations, contexts, and 
something in this blog 
(http://pilhuhn.blogspot.com/2006/08/how-to-outsmart-lazy-loading.html)

but I have not found them helpful for the moment

does anyone has met this behavious before ?

thanks

vincent


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109599#4109599

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109599
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to