X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjava%2Forg%2Fmxchange%2Fpizzaapplication%2Fmodel%2Fcustomer%2FPizzaAdminCustomerSessionBean.java;h=8d5a76f445c3eec1241534a4123ec0a1036e2b00;hb=ae5d60c0704f504b9b6f13f8affcb157783f03d9;hp=d6adede18a74d6fed2e2bda0bb369ffbe029d8f5;hpb=f492a2f0b42ab9c22bede8e30cb0197d6bfc4e84;p=pizzaservice-ejb.git 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);