brj 2005/12/01 14:01:59
Modified: src/doc/forrest/src/documentation/content/xdocs/docu/guides
query.xml
Log:
doc setPathOuterJoin()
Revision Changes Path
1.6 +11 -3
db-ojb/src/doc/forrest/src/documentation/content/xdocs/docu/guides/query.xml
Index: query.xml
===================================================================
RCS file:
/home/cvs/db-ojb/src/doc/forrest/src/documentation/content/xdocs/docu/guides/query.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- query.xml 9 Apr 2005 13:21:19 -0000 1.5
+++ query.xml 1 Dec 2005 22:01:59 -0000 1.6
@@ -427,7 +427,15 @@
<p>
The first query will use an inner join for relationship
"konti", the second an outer join.
</p>
- </section>
+ <p>
+ The whole path is evaluated, thus for a multi segment path (ie.
owner.address) you'll
+ have to set an outer join path for each segment that needs an
outer join.
+ <br/>
+ Given 'Account' - 'Owner' - 'Adress' and a query looking for
'Account'.
+ To force an outer join from 'Owner' to 'Adress'
setPathOuterJoin('owner.address') does the trick.
+ In case you also need an outer join between 'Account' and
'Owner' an additional setPathOuterJoin('owner') is needed.
+ </p>
+ </section>
<section>
@@ -820,4 +828,4 @@
<title>JDO queries</title>
</section>
</body>
-</document>
\ No newline at end of file
+</document>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]