Creating Pagination in Spring Data JPA
<p>I am trying to implement pagination feature in Spring Data JPA.
I am <a href="http://www.java-allandsundry.com/2012/12/spring-data-jpa-and-pagination.html" rel="noreferrer">referring this</a> Blog 
My Controller contains following code :</p>

<pre><code> @RequestMapping(value="/organizationData", method = RequestMethod.GET)
  public String list(Pageable pageable, Model model){
    Page&lt;Organization&gt; members = this.OrganizationRepository.findAll(pageable);
    model.addAttribute("members", members.getContent());
    float nrOfPages = members.getTotalPages();
    model.addAttribute("maxPages", nrOfPages);
    return "members/list"; 
  }
</code></pre>

<p>My DAO is following :</p>

<pre><code>@Query(value="select m from Member m", countQuery="select count(m) from Member m")
  Page&lt;Organization&gt; findMembers(Pageable pageable);
</code></pre>

<p><strong>I am able to show first 20 records, how do I show next 20???</strong>
 Is there any other pagination example that I can refer?? </p>