]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
copy id and other instances
authorRoland Häder <roland@mxchange.org>
Tue, 26 Apr 2016 11:39:50 +0000 (13:39 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Apr 2016 19:06:34 +0000 (21:06 +0200)
src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java

index d6adede18a74d6fed2e2bda0bb369ffbe029d8f5..8d5a76f445c3eec1241534a4123ec0a1036e2b00 100644 (file)
@@ -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);