java - JPA where clause condition -
I am using this mapping in Hibernate 3 in the The main point is You can use the For example, your organization looks like this: hbm.xml file:
& lt; class table = "mtl_material_transactions" name = "com.kaka.oracle.model.inventory.transactions.MaterialTransaction" where = "transaction_type_id in (35,44,90)" schema = "app" & gt;
where , how can I do this with
JPA 2.0 ? Provider) .
@where annotation for details. See:
@AntityTable (name = "mtl_material_transactions", schema = " Application ") @ where (section =" transaction_type_add in (35,44,90) ") public category content transaction {...}
Comments
Post a Comment