title: primefaces datatable composite primary key multiple selection not work
body: <p>i have a problem using primefaces datatable with multiple selection ( checkbox ) with composite primary key
  below is my xhtml</p>
  
  <pre><code> &lt;p:dataTable id="cars" var="car" value="#{setujutolakanpencairan.listmktksppencairan0}"
                       rowKey="#{car.mktksppencairan0PK}"
                       selection="#{setujutolakanpencairan.mktksppencairan0s}"   &gt;
              &lt;p:ajax event="rowSelectCheckbox" process="@this"/&gt;
              &lt;p:column selectionMode="multiple" style="width:2%" /&gt;
              &lt;f:facet name="header"&gt;
                  Click "View" button after selecting multiple to see details
              &lt;/f:facet&gt;
              &lt;p:column headerText="Color"&gt;
                  #{car.vcKeterangan}
              &lt;/p:column&gt;
  
              &lt;f:facet name="footer"&gt;
                  &lt;p:commandButton value="View" icon="ui-icon-search"
                                   update=":form:display" oncomplete="carDialog.show()" actionListener="#{setujutolakanpencairan.outprint()}"/&gt;
              &lt;/f:facet&gt;
          &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>Below is my back bean</p>
  
  <pre><code>private List&lt;Mktksppencairan0&gt; listmktksppencairan0;
  private Mktksppencairan0[] mktksppencairan0s;
  </code></pre>
  
  <p>below is my getter setter</p>
  
  <pre><code>public Mktksppencairan0[] getMktksppencairan0s() {
      if (mktksppencairan0s != null) {
  
          for (Object asdf : mktksppencairan0s) {
              System.out.println("mktksppencairan0s mktksppencairan0s mktksppencairan0smktksppencairan0s =====" + asdf);
          }
      }
      return mktksppencairan0s;
  }
  
  public void setMktksppencairan0s(Mktksppencairan0[] mktksppencairan0s) {
      this.mktksppencairan0s = mktksppencairan0s;
  }
  </code></pre>
  
  <p>below is list that display data</p>
  
  <pre><code>public List&lt;Mktksppencairan0&gt; getListmktksppencairan0() {
      TypedQuery&lt;Mktksppencairan0&gt; query = em.createNamedQuery("Mktksppencairan0.findBybulantahun", Mktksppencairan0.class);
      query.setParameter(
              "iTahun", mktkontrol.getTahun());
      query.setParameter(
              "iBulan", mktkontrol.getBulan());
      List&lt;Mktksppencairan0&gt; results = query.getResultList();
      return results;
  }
  
  public void setListmktksppencairan0(List&lt;Mktksppencairan0&gt; listmktksppencairan0) {
      this.listmktksppencairan0 = listmktksppencairan0;
  }
  </code></pre>
  
  <p>here is my action that i used to debug the value</p>
  
  <pre><code> public void outprint() {
  
      System.out.println("asdfasdf ===" + mktksppencairan0s.toString().length());
      System.out.println("asdfasdf ===" + mktksppencairan0s.toString());
      System.out.println("asdfasdf ===" + mktksppencairan0s);
      for (Mktksppencairan0 asdf : mktksppencairan0s) {
          System.out.println("mktksppencairan0s mktksppencairan0s mktksppencairan0smktksppencairan0s =====" + asdf.toString().length());
      }
  }
  </code></pre>
  
  <p>when i debug using netbeans debugger it is result [] or 0
  when i System.out it result</p>
  
  <pre><code>INFO: asdfasdf ===[Lcom.infion.web.biaya_marketing.entity.Mktksppencairan0;@a20a9b
  INFO: asdfasdf ===64
  
  INFO: asdfasdf ===[Lcom.infion.web.biaya_marketing.entity.Mktksppencairan0;@1f5db6
  INFO: asdfasdf ===[Lcom.infion.web.biaya_marketing.entity.Mktksppencairan0;@1f5db6
  </code></pre>
  
  <p>FYI im using netbeans 7.3, glassfish 3.1.2 , primefaces 3.5
  * the entity i used is generate by netbean so there is have two class of entity Mktksppencairan0PK and Mktksppencairan0 , where Mktksppencairan0 is have embbedded Mktksppencairan0PK
  thanks for helping me</p>
  
  <p>NB : i have try with non composite primary key ( single primary key ) and its works, but when i try with another composite primary key it doesn't work</p>