mysql hibernate在把hql转为sql的时候,把or两边的括号去掉的问题
语句1select * from credit_operation_log creditoper0_where creditoper0_.subject_id='1111' and (creditoper0_.credit_contract_id in ('2222')) or creditoper0_.customer_id='3333' and (creditoper0_.credit_contract_id is null) order by creditoper0_.create_tim