You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by th...@apache.org on 2003/01/28 18:31:32 UTC
cvs commit: jakarta-ojb/xdocs tutorial1.xml
thma 2003/01/28 09:31:32
Modified: xdocs tutorial1.xml
Log:
reviewing docs
Revision Changes Path
1.17 +6 -5 jakarta-ojb/xdocs/tutorial1.xml
Index: tutorial1.xml
===================================================================
RCS file: /home/cvs/jakarta-ojb/xdocs/tutorial1.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- tutorial1.xml 6 Jan 2003 14:09:20 -0000 1.16
+++ tutorial1.xml 28 Jan 2003 17:31:31 -0000 1.17
@@ -912,14 +912,15 @@
</p>
<p>
If your persistent class contains
-reference attributes to other user defined classes, arrays or
-collections, you must describe their behaviour in
-<code>field-descriptor</code>- or
+reference attributes pointing to other persistent classes, you have to
+use <code>reference-descriptor</code>-elements to describe their
+behaviour. If the persistent class has array- or collection-attributes
+containing persistent objects you have to use
<code>collection-descriptor</code> elements. You
will find several examples for such classes in the package
<code>org.apache.ojb.broker</code> and their
corresponding descriptors in the sample repository.xml. There is
- a separate <A HREF="tutorial3.html">tutorial on this more
+ a separate <A HREF="tutorial3.html">tutorial on these more
advanced mapping topic.</A>
</p>
<p>
@@ -938,7 +939,7 @@
<br/>
We have started to work on a tool that generates a database from an
existing repository.xml file.
- Call <b><code>build[.sh] forward-db</code></b> to see our reverse
+ Call <b><code>build[.sh] forward-db</code></b> to see our forward
engineering tool at work.
<br/>
After building your db you can inspect it by calling