515253545556575859
session.saveOrUpdate(basket); } transaction.commit(); } catch (final HibernateException e) { LOGGER.error(e); throw new DataNotStoredException( "Baskets batch was not stored for a some reason", e); } }
535455565758596061
this.hibernateTemplate.save(t); transaction.commit(); } catch (final HibernateException e) { transaction.rollback(); LOGGER.error(e); throw new DataNotStoredException( "Payer was not stored for some reason", e); } }
484950515253545556
transaction.begin(); session.saveOrUpdate(t); transaction.commit(); } catch (final HibernateException e) { LOGGER.error(e); throw new DataNotStoredException( "Basket was not stored for a some reason", e); } }
3738394041424344
.getPassword()); payer.setPassword(encodedPassword); this.payerDao.doSave(payer); } catch (final DataNotStoredException e) { LOGGER.error(e.getLocalizedMessage(), e); throw new DataNotStoredException(e.getLocalizedMessage()); } }
505152535455565758
try { payer.setId(payerDto.getId()); this.payerDao.doUpdate(payer); } catch (final DataNotStoredException e) { LOGGER.error(e.getLocalizedMessage(), e); throw new DataNotStoredException(e.getLocalizedMessage()); } }