"petemuir" wrote : "roeber" wrote : "petemuir" wrote :
| | | 1) Association fetching in Hibernate is lazy by default AFAIK
| | |
| |
| | Are you sure? This would make things strange anymore.
|
| Yep.
|
|
http://www.hibernate.org/hib_docs/annotations/reference/en/html/entity.ht...
|
http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#p...
Nope.
Quoting from the first link (section 2.2.5.5):
anonymous wrote : @OneToMany and @ManyToMany associations are defaulted to LAZY and
@OneToOne and @ManyToOne are defaulted to EAGER
and he had a @ManyToOne in his code, which is EAGER by default, not LAZY.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050979#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...