Author: buildbot
Date: Mon Jun 2 08:27:51 2014
New Revision: 910888
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:51 2014
@@ -1 +1 @@
-1599122
+1599123
Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jun 2 08:27:51 2014
@@ -1 +1 @@
-1599122
+1599123
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:51 2014
@@ -463,10 +463,13 @@ isis.persistor.datanucleus.impl.datanucl
}
</code></pre>
-<p>DataNucleus's persistence-by-reachability algorithm adds the
<code>AgreementRole</code>s into a <code>SortedSet</code>, which causes
<code>AgreementRole#compareTo()</code> to fire:
-* the evaluation of the "agreement" property delegates back to the
<code>Agreement</code>, whose own <code>Agreement#compareTo()</code> uses the
scalar <code>reference</code> property. As the <code>Agreement</code> is
already in-memory, this does not trigger any further database queries
-* the evaluation of the "startDate" property is just a scalar
-* the evaluation of the "party" property delegates back to the
<code>Party</code>, whose own <code>Party#compareTo()</code> requires the uses
the scalar <code>reference</code> property. However, since the
<code>Party</code> is not yet in-memory, using the <code>reference</code>
property triggers a database query to "rehydrate" the <code>Party</code>
instance.</p>
+<p>DataNucleus's persistence-by-reachability algorithm adds the
<code>AgreementRole</code>s into a <code>SortedSet</code>, which causes
<code>AgreementRole#compareTo()</code> to fire:</p>
+
+<ul>
+<li>the evaluation of the "agreement" property delegates back to the
<code>Agreement</code>, whose own <code>Agreement#compareTo()</code> uses the
scalar <code>reference</code> property. As the <code>Agreement</code> is
already in-memory, this does not trigger any further database queries</li>
+<li>the evaluation of the "startDate" property is just a scalar</li>
+<li>the evaluation of the "party" property delegates back to the
<code>Party</code>, whose own <code>Party#compareTo()</code> requires the uses
the scalar <code>reference</code> property. However, since the
<code>Party</code> is not yet in-memory, using the <code>reference</code>
property triggers a database query to "rehydrate" the <code>Party</code>
instance.</li>
+</ul>
<p>In other words, in figuring out whether <code>AgreementRole</code> requires
the persistence-by-reachability algorithm to run, it causes the adjacent
associated entity <code>Party</code> to also be retrieved.</p>