How to use AND OR operator in hibernate Detached criteria query?
You can use AND, OR operator in hibernate detachedCriteria through Restrictions.conjunction() and Restrictions.disjunction(). Detached Criteria query is a facility provide by Hibernate to write criteria queries in ?detached mode?, where hibernate session is not available. You can instantiate this class anywhere.
Ads