Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人知道如何对空析取进行条件检查吗?
Disjunction dis = Restrictions.disjunction(); 如果(dis){ }
Disjunction dis = Restrictions.disjunction();
如果(dis){
}
你可以试试:
if(dis == null || dis.getTypedValues().length == 0)