title: Displaying boolen value in JasperReports
body: <p>I am using the following expression to display either Paid / Unpaid depending on the boolean value of my table field in a <em>JasperReports</em> report</p>
  
  <pre class="lang-java prettyprint-override"><code>Boolean.valueOf($F{PAYMENT_STATUS}.equals(BOOLEAN.TRUE)) ? "Paid" : "Unpaid"
  </code></pre>
  
  <p>yet it is not working and is always giving me unpaid even though the invoices in table are all paid</p>
  
  <p>So can someone please tell me what I am doing wrong here and how to show Paid / Unpaid depending on the field boolean value?</p>
  
  <p>Note: I am using <em>JasperReports Designer 5.2.0</em></p>