我如何使用Hibernate Restrictions实现这一目标?
(((A='X') and (B in('X',Y))) or ((A='Y') and (B='Z')))
hibernate criteria restrictions hibernate-criteria
criteria ×1
hibernate ×1
hibernate-criteria ×1
restrictions ×1