@Override @Transactional(propagation = Propagation.REQUIRES_NEW, readOnly = false) public void delete(long id) { addressDao.delete(id); }
@Override @Transactional(propagation = Propagation.REQUIRES_NEW, readOnly = false) public void addNewAddress(Address address) { address = addressDao.addNewAddress(address); }
@Override public List<Address> getAllAddresses() { List<Address> allAddresses = addressDao.getAll(); return allAddresses; }