You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2014/06/02 10:27:19 UTC
svn commit: r910887 - in /websites/staging/isis/trunk: cgi-bin/ content/
content/components/objectstores/jdo/disabling-persistence-by-reachability.html
Author: buildbot
Date: Mon Jun 2 08:27:19 2014
New Revision: 910887
Log:
Staging update by buildbot for isis
Modified:
websites/staging/isis/trunk/cgi-bin/ (props changed)
websites/staging/isis/trunk/content/ (props changed)
websites/staging/isis/trunk/content/components/objectstores/jdo/disabling-persistence-by-reachability.html
Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jun 2 08:27:19 2014
@@ -1 +1 @@
-1599120
+1599122
Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jun 2 08:27:19 2014
@@ -1 +1 @@
-1599120
+1599122
Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/disabling-persistence-by-reachability.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/disabling-persistence-by-reachability.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/disabling-persistence-by-reachability.html Mon Jun 2 08:27:19 2014
@@ -405,11 +405,11 @@
<p>By default, JDO/DataNucleus supports the concept of <a href="http://www.datanucleus.org/products/datanucleus/jdo/orm/cascading.html">persistence-by-reachability</a>. That is, if
a non-persistent entity is associated with an already-persistent entity, then DataNucleus will detect this and will automatically persist the associated object. Put another way: there is no need to call Isis' <code>DomainObjectContainer#persist(.)</code> or <code>DomainObjectContainer#persistIfNotAlready(.)</code> methods.</p>
-<p>However, convenient though this feature is, <em>you may find that it causes performance issues</em>.</p>
+<p>However, convenient though this feature is, <strong>you may find that it causes performance issues</strong>.</p>
<p>One scenario in particular where this performance issues can arise is if your entities implement the <code>java.lang.Comparable</code> interface, and you have used Isis' <a href="../../../reference/Utility.html">ObjectContracts</a> utility. The issue here is that <code>ObjectContracts</code> implementation can cause DataNucleus to recursively rehydrate a larger number of associated entities. (More detail below).</p>
-<p>We therefore <em>recommend that you disable persistence-by-reachability</em>, add the following to <code>persistor_datanucleus.properties</code>:</p>
+<p>We therefore <strong>recommend that you disable persistence-by-reachability</strong>, add the following to <code>persistor_datanucleus.properties</code>:</p>
<pre><code>#
# Require explicit persistence (since entities are Comparable and using ObjectContracts#compareTo).