title: String comparisons in JasperReports expressions
body: <p>A database field named <code>income_source</code> is queried using:</p>
  
  <pre><code>SELECT * FROM table_name WHERE income_source LIKE "salaried%"
  </code></pre>
  
  <p>This retrieves <code>income_source</code> values with a "salaried" prefix. In iReport, the <strong>PrintWhenExpression</strong> value for the field is set as:</p>
  
  <pre><code>$F{income_source}.equals("Salaried")? Boolean.TRUE:Boolean.FALSE  
  </code></pre>
  
  <p>Why does the report output differ from the SQL output?</p>