title: JPA where clause condition
body: <p>I'm using hibernate 3 within this mapping in <code>hbm.xml</code> file:</p>
  
  <pre><code>&lt;class table="mtl_material_transactions" 
          name="com.kaka.oracle.model.inventory.transactions.MaterialTransaction" 
          where="transaction_type_id in (35,44,90)" 
          schema="apps"&gt;
  </code></pre>
  
  <p>The key point is <code>where</code>, how can I do the same with <code>JPA 2.0</code> <em>(hibernate 4.1.9 final as provider)</em>.</p>