[hibernate-dev] Default fetching

Steve Ebersole steve at hibernate.org
Fri Aug 7 11:41:09 EDT 2015


I thought we had discussed this once upon a time, but I could not find any
email.  In overhauling the documentation I ran across our long-standing
recommendation that all associations be defined in metadata as lazy.  JPA
of course came along said that for to-one associations the default should
eager.

Do we want to add a setting to allow folks to alter these defaults?  I know
that's tough in terms of portability between providers, but that is
ultimately the user's choice.


More information about the hibernate-dev mailing list