Author: kwsutter
Date: Wed Mar 14 08:46:43 2007
New Revision: 518192

URL: http://svn.apache.org/viewvc?view=rev&rev=518192
Log:
Slight updates to the manual to connect the JPA CascadeType.REMOVE processing 
with the OpenJPA @dependent annotation.

This is in response to the dev mailing list discussion:  
http://www.nabble.com/forum/ViewPost.jtp?post=9360585&framed=y

Modified:
    incubator/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_meta.xml
    incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_meta.xml

Modified: 
incubator/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_meta.xml
URL: 
http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_meta.xml?view=diff&rev=518192&r1=518191&r2=518192
==============================================================================
--- 
incubator/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_meta.xml 
(original)
+++ 
incubator/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_meta.xml 
Wed Mar 14 08:46:43 2007
@@ -1324,6 +1324,13 @@
                         </para>
                     </listitem>
                 </itemizedlist>
+                <note>
+                       <para>
+OpenJPA offers enhancements to JPA's CascadeType.REMOVE functionality,
+including additional annotations to control how and when dependent fields will
+be removed.  See <xref linkend="dependent"/> for more details.
+                       </para>
+                </note>
                 <para>
 <classname>CascadeType</classname> defines one additional value, <literal>
 CascadeType.ALL</literal>, that acts as a shortcut for all of the values above.

Modified: 
incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_meta.xml
URL: 
http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_meta.xml?view=diff&rev=518192&r1=518191&r2=518192
==============================================================================
--- incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_meta.xml 
(original)
+++ incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_meta.xml 
Wed Mar 14 08:46:43 2007
@@ -569,9 +569,11 @@
 <literal>Magazine.coverArticle</literal> to a new 
<classname>Article</classname>
 instance will automatically delete the old <classname>Article</classname> 
stored
 in the field. Similarly, deleting a <classname>Magazine</classname> object will
-automatically delete its current cover <classname>Article</classname>. You can
-prevent an orphaned dependent object from being deleted by assigning it to
-another relation in the same transaction.
+automatically delete its current cover <classname>Article</classname>. (This
+latter processing is analogous to using JPA's CascadeType.REMOVE functionality
+as described in <xref linkend="jpa_overview_meta_cascade"/>.) You can
+prevent an orphaned dependent object from being automatically deleted by 
+assigning it to another relation in the same transaction.
                 </para>
                 <para>
 OpenJPA offers a family of marker annotations to denote dependent relations in


Reply via email to