[jboss-user] [JBoss Seam] - Re: fetchtype.LAZY results in JSF validation error
ASavitsky
do-not-reply at jboss.com
Mon Jun 4 10:40:45 EDT 2007
"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
More information about the jboss-user
mailing list