Hibernate Team |
 |
Joined: Tue Aug 26, 2003 3:00 pm Posts: 1816 Location: Austin, TX
|
Are you talking about on load()? There there is no way to do this currently.
During queries, you can always explicitly specify the manner in which the joins are done using the various join strategies. Navigating a relation like you mention with the "select o from Order as o where o.customer.something..." syntax does an implicit inner join for you. The explicit way is to say "select o from Order as o inner join fetch o.customer as c". Check out the docs on HQL for more info on this.
|
|