[jboss-user] [EJB 3.0] - Re: My collection is not initializing; due to inheritance?
snau2005
do-not-reply at jboss.com
Fri Aug 18 03:09:55 EDT 2006
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
More information about the jboss-user
mailing list