CVS: xdoclet/modules/jdo/src/META-INF xtags.xml,1.24,1.25

Marco Schulze <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Update of /cvsroot/xdoclet/xdoclet/modules/jdo/src/META-INF
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32247/modules/jdo/src/META-INF

Modified Files:
	xtags.xml 
Log Message:
- removed the project's default-fetch-depth again (not necessary, because the fetch-depth applies only to a few special situations)
- added the possibility to declare the fetch-depth (in square brackets) for each field within a fetch-group (e.g.: jdo.fetch-group name="myFetchGroup" field-names="name, parent[2], children[5]")

Index: xtags.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/jdo/src/META-INF/xtags.xml,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** xtags.xml	31 Aug 2005 19:47:01 -0000	1.24
--- xtags.xml	18 Sep 2005 23:37:51 -0000	1.25
***************
*** 728,732 ****
        	<name>jdo.fetch-group</name>
        	<usage-description>
!       		Defines a fetch-group to be used by JDO detach. Example: @jdo.fetch-group name="fetch-some-fields" field-names="field0, field1, field2"
        	</usage-description>
        	<unique>false</unique>
--- 728,733 ----
        	<name>jdo.fetch-group</name>
        	<usage-description>
!       		Defines a fetch-group to be used by JDO detach.
!       		Example: @jdo.fetch-group name="fetch-some-fields" field-names="field0 [3], field1, field2"
        	</usage-description>
        	<unique>false</unique>
***************
*** 755,759 ****
            <usage-description>
            	A comma-separated list of the fields that should be contained by this fetch-group.
!           	This list may contain spaces for better readability - they are ignored.
            </usage-description>
            <mandatory>false</mandatory>
--- 756,762 ----
            <usage-description>
            	A comma-separated list of the fields that should be contained by this fetch-group.
!           	This list may contain spaces for better readability - they are ignored. Optionally,
!           	you can add the fetch-depth in square brackets after each field.
!           	Example: field-names="name, father [2], mother [2], children [5]"
            </usage-description>
            <mandatory>false</mandatory>
***************
*** 1097,1112 ****
          </parameter>
  
-         <parameter type="int">
-           <name>fetch-depth</name>
-           <usage-description>
-                 This parameter can only be used in JDO 2.0! It defines, how many levels the
-                 JDO implementation should dive into the object graph for detaching. This
-                 is especially useful when an object contains a member of the same class as
-                 itself (or if there is an indirect circle).
-           </usage-description>
-           <mandatory>false</mandatory>
-           <condition-description></condition-description>
-         </parameter>
- 
          <parameter type="text">
            <name>mapped-by</name>
--- 1100,1103 ----



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.