@Transactional public void deleteCustomer(Customer customer) throws Exception { CustomerInfo info = customerInfoDao.findById(customer.getCustomerId()); if (info != null) { customerInfoDao.delete(info); } // customer basket // wishlist customerDao.delete(customer); }