From f88236229976f3bf4fd42958fa9300bf08c7710c Mon Sep 17 00:00:00 2001 From: Gavin King Date: Sun, 10 Apr 2005 20:51:19 +0000 Subject: [PATCH] document fetch all properties git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@6383 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- reference/en/modules/query_hql.xml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/reference/en/modules/query_hql.xml b/reference/en/modules/query_hql.xml index b310943769..2874c3a07f 100644 --- a/reference/en/modules/query_hql.xml +++ b/reference/en/modules/query_hql.xml @@ -148,12 +148,22 @@ - Note that, in the current implementation, only one collection role may be fetched - in a query (everything else would be non-performant). Note also that the - fetch construct may not be used in queries called using + Note that, in the current implementation, only one collection role may be join fetched + in a query (more than one role will usually result in a cartesian product). Note also + that the fetch construct may not be used in queries called using scroll() or iterate(). Finally, note that - full join fetch and right join fetch are not meaningful. + full join fetch and right join fetch are not + meaningful. + + + If you are using property-level lazy fetching (with bytecode instrumentation), it is + possible to force Hibernate to fetch the lazy properties immediately (in the first + query) using fetch all properties. + + + +