"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.html#d0e1570 | http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-fetching-lazy
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#4050979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050979 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
