title: Datatable displaying 2 different entity tables with relation
body: <p>my datatable</p>
  
  <pre><code>&lt;h:form&gt;
      &lt;h:panelGroup&gt;
          &lt;h:dataTable columnClasses="input-radio,input-label" id="account-table" value="#{accountController.items}" var="item" border="0"&gt;
              &lt;h:column&gt;
                  &lt;h:outputText value="#{item.id}"/&gt;
              &lt;/h:column&gt;
              &lt;h:column&gt;
                  &lt;h:outputText value="#{item.name}"/&gt;
              &lt;/h:column&gt; 
          &lt;/h:dataTable&gt;
      &lt;/h:panelGroup&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>i have an account entity that is in relation with a user entity. Is there anyway to retrieve user datas from account rather than making 2 datatables for account and user?</p>
  
  <p>getItems method</p>
  
  <pre><code>public DataModel getItems() {
      if (items == null) {
          items = getPagination().createPageDataModel();
      }
      return items;
  
  }
  </code></pre>
  
  <p>using JSF 2 and the manage beans are autogenerated using CRUD</p>