java - hibernate restrictions and/or order -
Small questions about restrictions and restrictions. And
If I do something like this:
... Criteria = Criterion A; Criteria = Restrictions. And (criteria, criteria B); Criteria = Restrictions These (criteria, criteria C); Criterion = Restrictions And (criteria, criteria D);
It will be treated as:
(A and B) or (C & D) (after mathematical conventions)
< / Pre>or it will be treated in this order that the restriction has been added:
((A and B) or C) and D)
Please also add any type of reference ...
((a and b) or c) and d)
you can
< Code> criteria = restriction
Comments
Post a Comment