From ae5d60c0704f504b9b6f13f8affcb157783f03d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 26 Apr 2016 13:39:50 +0200 Subject: [PATCH] copy id and other instances --- .../model/customer/PizzaAdminCustomerSessionBean.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java b/src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java index d6adede..8d5a76f 100644 --- a/src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java @@ -87,6 +87,10 @@ public class PizzaAdminCustomerSessionBean extends BasePizzaDatabaseBean impleme // Is a customer found? if (updatedContact instanceof Contact) { + // Set all entries + contact.setContactId(updatedContact.getContactId()); + this.setAllContactPhoneEntries(contact, updatedContact); + // Yes, then get updated version updatedContact = this.contactBean.updateContactData(contact); -- 2.39.5