title: Check for isNotEqual property in ibatis with java
body: <p>I am trying to implement the <code>isNotEqual</code> property property in ibatis.
  I have 2 tables where I need to check for '0':</p>
  
  <pre><code> prlines (trans=0) 
   prlines_trans (transt=0)  
  </code></pre>
  
  <p>So in the below code I need to apply <code>isNotEqual</code> to so that my query should only return those results <code>where prlines.trans&lt;&gt;0 or prlines_trans.transt &lt;&gt; 0</code>
  depending on the below property :</p>
  
  <pre><code>&lt;isEqual property="isPlanCurrent" compareValue="true" prepend="AND "&gt; prlines .budgetyear = (select ryear from sq_ryear) &lt;/isEqual&gt;
  
  &lt;isEqual property="isPlanCurrent" compareValue="false" prepend="AND "&gt; prlines_trans.budgetyear = (select ryear from sq_ryear) and prlines_trans.lock=9 &lt;/isEqual&gt;
  </code></pre>