tx = aSession.beginTransaction();
SbiDistributionList hibDistributionList = (SbiDistributionList) aSession.load(SbiDistributionList.class,
new Integer(aDistributionList.getId()));
SbiDistributionListUser hibDistributionListUser = new SbiDistributionListUser();
hibDistributionListUser.setUserId(user.getUserId());
hibDistributionListUser.setEMail(user.getEmail());
hibDistributionListUser.setSbiDistributionList(hibDistributionList);
updateSbiCommonInfo4Insert(hibDistributionListUser);
aSession.save(hibDistributionListUser);
tx.commit();
} catch (HibernateException he) {
logger.error("Error while subscribing to the distribution list with id " + ((aDistributionList == null)?"":String.valueOf(aDistributionList.getId())), he);