return findAll(AccountDO.class);
}
public List<AccountDO> listAllAccountsForSelection() {
Criteria criteria = getSession().createCriteria(AccountDO.class);
criteria.add(Restrictions.ne("accountType", new AccountTypesDO(1L)))
.add(Restrictions.ne("accountType", new AccountTypesDO(2L)))
.add(Restrictions.ne("accountType", new AccountTypesDO(5L)));
return criteria.list();
}