there is fetch strategies:
FetchType.EAGER or FetchType.LAZY, default i think lazy


  |     @OneToMany(mappedBy = "field", fetch=FetchType.EAGER) 
  |     @Cascade({CascadeType.ALL, CascadeType.DELETE_ORPHAN}) 
  |     public List<SomeClass> somoes;
  | 

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

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

Reply via email to