deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r1685801 - /deltaspike/site/trunk/content/staging/documentation/data.html
Date Tue, 16 Jun 2015 12:37:01 GMT
Author: gpetracek
Date: Tue Jun 16 12:37:01 2015
New Revision: 1685801

URL: http://svn.apache.org/r1685801
Log:
Site checkin for project Apache DeltaSpike Documentation

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

Modified: deltaspike/site/trunk/content/staging/documentation/data.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/staging/documentation/data.html?rev=1685801&r1=1685800&r2=1685801&view=diff
==============================================================================
--- deltaspike/site/trunk/content/staging/documentation/data.html (original)
+++ deltaspike/site/trunk/content/staging/documentation/data.html Tue Jun 16 12:37:01 2015
@@ -559,7 +559,7 @@ be implemented in the repository.</p>
 <pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span>
<span class="directive">abstract</span> <span class="type">class</span>
<span class="class">PersonRepository</span> <span class="directive">extends</span>
AbstractEntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
-    <span class="directive">public</span> Person findBySSN(<span class="predefined-type">String</span>
ssn)
+    <span class="directive">public</span> <span class="predefined-type">List</span>&lt;Person&gt;
findBySSN(<span class="predefined-type">String</span> ssn)
     {
         <span class="keyword">return</span> typedQuery(<span class="string"><span
class="delimiter">&quot;</span><span class="content">select p from Person
p where p.ssn = ?1</span><span class="delimiter">&quot;</span></span>)
                 .setParameter(<span class="integer">1</span>, ssn)



Mime
View raw message