small questions about restrictions and limitations and limitations.
If I do something like this:
... criterion = criterionA; criterion = Restrictions.and(criterion, criterionB); criterion = Restrictions.or(criterion, criterionC); criterion = Restrictions.and(criterion, criterionD);
Will it be considered as:
(A and B) or (C and D) (following mathematical conventions)
Or it will be processed in the order in which the restrictions were added:
(((A and B) or C) and D)
Please add links if available ...
source share