List of usage examples for org.hibernate.criterion Restrictions eqOrIsNull
public static Criterion eqOrIsNull(String propertyName, Object value)
From source file:org.n52.series.db.dao.DatasetDao.java
License:Open Source License
private Criterion createPublishedAndNotDeletedRestriction(String alias) { return Restrictions.and(Restrictions.eq(alias.concat("published"), true), Restrictions.eqOrIsNull(alias.concat("deleted"), false)); }