title: Primefaces DataTable + JPA / Hibernate Pagination
body: <p>It'll be so cool if i can somehow combine both of these framework together in pagination.</p>
  
  <p>Clicking on the next or prev button on the Primefaces Datatable will trigger the query, limiting the query result using JPA. </p>
  
  <p>Also perhaps with some mechanism, the primefaces component can also get the total pages from another JPA select count query ?</p>
  
  <p>Is there any example on how to put these into work ?</p>
  
  <p>Please share your experiences on this.</p>
  
  <p>Thank you !</p>