.createCriteria("employees")
.add(Restrictions.eq("id", employeeEntity.getId()));
result = (SubsidiaryEntity) cr.uniqueResult();
if (result == null) {
throw new WrongSubsidiaryEmployeeException(
"Subsidiary with employee: \"" + employeeEntity
+ "\" doesn't exist.");
}
return result;