deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject svn commit: r1738072 - /deltaspike/site/trunk/content/documentation/data.html
Date Thu, 07 Apr 2016 02:07:08 GMT
Author: johndament
Date: Thu Apr  7 02:07:08 2016
New Revision: 1738072

URL: http://svn.apache.org/viewvc?rev=1738072&view=rev
Log:
Site checkin for project Apache DeltaSpike Documentation

Modified:
    deltaspike/site/trunk/content/documentation/data.html

Modified: deltaspike/site/trunk/content/documentation/data.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/data.html?rev=1738072&r1=1738071&r2=1738072&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/data.html (original)
+++ deltaspike/site/trunk/content/documentation/data.html Thu Apr  7 02:07:08 2016
@@ -1118,8 +1118,8 @@ the query:</p>
 <div class="listingblock">
 <div class="content">
 <pre class="CodeRay highlight"><code data-lang="java"><span class="predefined-type">List</span>&lt;Person&gt;
result = personRepository.findAllByAge(<span class="integer">18</span>, <span
class="integer">65</span>)
-    .orderAsc(Person_.lastName)
-    .orderDesc(Person_.age)
+    .orderAsc(<span class="string"><span class="delimiter">&quot;</span><span
class="content">p.lastName</span><span class="delimiter">&quot;</span></span>,
<span class="predefined-constant">false</span>)
+    .orderDesc(<span class="string"><span class="delimiter">&quot;</span><span
class="content">p.age</span><span class="delimiter">&quot;</span></span>,
<span class="predefined-constant">false</span>)
     .lockMode(LockModeType.WRITE)
     .hint(<span class="string"><span class="delimiter">&quot;</span><span
class="content">org.hibernate.timeout</span><span class="delimiter">&quot;</span></span>,
<span class="predefined-type">Integer</span>.valueOf(<span class="integer">10</span>))
     .getResultList();</code></pre>



Mime
View raw message