title: javax.el.PropertyNotFoundException: The class doesn't have property
body: <p>I am failing to render data  which is surely in a database. All my DAO methods working and tested. Perhaps it is not important but anyway: I am using Primefaces, Java ee 6, glassfish 3.1. </p>
  
  <p>Here is error: <code>/edit.xhtml @59,45 value="#{b.orderNum}": The class 'com.boatmanagement.domain.BoatOrder' does not have the property 'orderNum'.</code></p>
  
  <p>My domain class.</p>
  
  <pre><code>@Entity
  @Table(name="BOAT_ORDR_TB")
  public class BoatOrder implements Serializable
  {
      @Id
      @GeneratedValue
      @Column(name="ORDER_PK")
      private int orderId;
  
      @Column(name="ORDER_NUM")
      private String orderNum;
  
      @Temporal(TemporalType.DATE) 
      @Column(name="ORDER_DATE")
      private Date orderDate;
  
      public int getBoatOrderId() {
          return orderId;
      }
      public void setBoatOrderId(int orderId) {
          this.orderId = orderId;
      }
      public String getBoatOrderNum() {
          return orderNum;
      }
      public void setBoatOrderNum(String orderNum) {
          this.orderNum = orderNum;
      }
      public Date getBoatOrderDate() {
          return orderDate;
      }
      public void setBoatOrderDate(Date orderDate) {
          this.orderDate = orderDate;
      }
  }
  </code></pre>
  
  <p>Here is part of my JSF page. </p>
  
  <pre><code>        &lt;h:form class="displayTable"&gt;
              &lt;p:dataTable id="boatTable" autoUpdate="true"
                  var="b" value="#{filterbean.btOrderlist}"&gt;
  
                  &lt;p:column headerText="res. num" width="50"&gt;
                      &lt;h:outputText value="#{b.orderNum}" /&gt;
                  &lt;/p:column&gt;
  
                  &lt;p:column headerText="Date" width="50"&gt;
                      &lt;h:outputText value="#{b.orderDate}" /&gt;
                  &lt;/p:column&gt;
  
                  &lt;p:column headerText="Yacht name" width="100"&gt;
                      &lt;h:outputText value="" /&gt;
                  &lt;/p:column&gt;
  
              &lt;/p:dataTable&gt;
          &lt;/h:form&gt;
      &lt;/ui:define&gt;
  </code></pre>