Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/hibernate/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hibernate 休眠限制。或_Hibernate_Restriction - Fatal编程技术网

Hibernate 休眠限制。或

Hibernate 休眠限制。或,hibernate,restriction,Hibernate,Restriction,我想知道为什么限制。或者只能接受2个参数 我需要做下面这样的事情 (A and B) or (C and D) or ( E and F ) or (G and H) or ... 有什么想法可以做到这一点 感谢根据,方法重载了或(…)。您引用的一个和另一个接受数组o的 公共静态析取或(标准…谓词)

我想知道为什么限制。或者只能接受2个参数

我需要做下面这样的事情

(A and B) or (C and D) or ( E and F ) or (G and H) or ...
有什么想法可以做到这一点

感谢根据,方法重载了
或(…)
。您引用的一个和另一个接受数组o的

公共静态析取或(标准…谓词)