crit.add(Restrictions.eq("login", login));
user = (User) crit.uniqueResult();
} catch(HibernateException ex) {
logger.error("getUser4Login(String)", ex);
throw new DBAccessException(ex);
}
if (logger.isDebugEnabled()) {
logger.debug("getUser4Login(String) - end - return value=" + user);
}