Association fetching strategies in Hibernate 3
Association fetching strategies - Since it is best practice to map almost all classes and collections using lazy="true", that is now the default. Existing applications will need to explicitly specify lazy="false" on all non-lazy class and collection mappings. The outer-join attribute is deprecated. Use fetch="join" and fetch="select" instead of outer-join="true" and outer-join="false". Existing applications may continue to use the outer-join attribute, or may use a text search/replace to migrate to use of the fetch attribute. Beware, this means you have to put lazy="false" on all collection-mappings and classes which previously did not have a "lazy"-attribute. A quick and dirty alternative for migration is also to put default-lazy="false" on all your hibernate-mapping elements.