Restrictions.or と Restrictions.and に関する小さな質問
私がこのようなことをすると:
...
criterion = criterionA;
criterion = Restrictions.and(criterion, criterionB);
criterion = Restrictions.or(criterion, criterionC);
criterion = Restrictions.and(criterion, criterionD);
これは次のように扱われますか。
(A and B) or (C and D) (following mathematical conventions)
または、制限が追加された順序で処理されますか。
(((A and B) or C) and D)
参考文献などありましたらお願いします。...