crit.createCriteria("projekt", "proj");
crit.add(Restrictions.not(Restrictions.eq("proj.projectIsArchived", true)));
} else {
crit.createCriteria("projekt", "proj");
}
Order order = Order.asc("titel");
crit.addOrder(order);
@SuppressWarnings("unchecked")
List<Prozess> pl = crit.setFirstResult(0).setMaxResults(Integer.MAX_VALUE).list();
HSSFWorkbook wb = new HSSFWorkbook();