You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by bu...@apache.org on 2014/07/01 08:07:23 UTC
svn commit: r914536 - in /websites/staging/olingo/trunk/content: ./
doc/tutorials/DeltaQuerySupport.html
Author: buildbot
Date: Tue Jul 1 06:07:23 2014
New Revision: 914536
Log:
Staging update by buildbot for olingo
Modified:
websites/staging/olingo/trunk/content/ (props changed)
websites/staging/olingo/trunk/content/doc/tutorials/DeltaQuerySupport.html
Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Jul 1 06:07:23 2014
@@ -1 +1 @@
-1606986
+1606987
Modified: websites/staging/olingo/trunk/content/doc/tutorials/DeltaQuerySupport.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/tutorials/DeltaQuerySupport.html (original)
+++ websites/staging/olingo/trunk/content/doc/tutorials/DeltaQuerySupport.html Tue Jul 1 06:07:23 2014
@@ -78,8 +78,8 @@
<p>There are two approaches you can follow to generate delta token.</p>
<h3 id="generating-delta-token">Generating Delta Token</h3>
<h5 id="first-approach">First Approach</h5>
-<p>a. Create a Java class by extending <code>ODataJPATombstoneEntityListener.java</code>.
-b. Implement the abstract method <code>getQuery</code>. In the method, implement the logic to generate a <code>javax.persistence.Query</code>. The Query object can be created as shown below in the code snippet. </p>
+<p>a. Create a Java class by extending <code>ODataJPATombstoneEntityListener.java</code>.</p>
+<p>b. Implement the abstract method <code>getQuery</code>. In the method, implement the logic to generate a <code>javax.persistence.Query</code>. The Query object can be created as shown below in the code snippet. </p>
<div class="codehilite"><pre> <span class="k">if</span> <span class="p">(</span>!<span class="n">resultsView</span><span class="p">.</span><span class="n">getStartEntitySet</span><span class="p">().</span><span class="n">getName</span><span class="p">().</span><span class="n">equals</span><span class="p">(</span><span class="n">resultsView</span><span class="p">.</span><span class="n">getTargetEntitySet</span><span class="p">().</span><span class="n">getName</span><span class="p">()))</span> <span class="p">{</span>
<span class="n">contextType</span> <span class="p">=</span> <span class="n">JPQLContextType</span><span class="p">.</span><span class="n">JOIN</span><span class="p">;</span>
<span class="p">}</span> <span class="k">else</span> <span class="p">{</span>