title: jsf <h:dataTable> How to refresh or update dataTable with new values which are added to database
body: <ol>
  <li><p>I have a jsf page (page1.xhtml) where within a form is a "h:datatable" defined and filled with values from database by using hibernate. this is working fine. </p></li>
  <li><p>Additionally I placed a "h:commandButton" (Create) on the same page. By clicking the button a new jsf page will be opened (page2.xhtml). On the new page I can set values to some h:inputText elements and can save them with a Button "Save" to the database. This is also working fine because I can see the new values in the database table.</p></li>
  <li><p>The return value of my save method is the name of the jsf page (page1.xhtml) where the dataTable is shown.</p></li>
  <li><p>The question I have now is how can I update or refresh the dataTable to show, beside the existing values, also the new value? Do I have to read them again from DB?</p></li>
  <li><p>My ManagedBean is SessionScoped and I'm using JSF 2.2</p></li>
  </ol>
  
  <p>I checked this <a href="http://balusc.blogspot.de/2006/06/using-datatables.html" rel="nofollow">http://balusc.blogspot.de/2006/06/using-datatables.html</a> but I was unable to find the corresponding information.</p>
  
  <p>Please, can anyone assist?</p>