From 50ee199f427af149d233d36e96adb1915a5daa49 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 30 Aug 2016 12:22:13 +0200 Subject: [PATCH] Please cherry-pick: - unsetting contact is no longer needed, make it managed and then it should be fine ... :-) --- .../mxchange/jusercore/model/user/PizzaUserSessionBean.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java index 6e8ab60..cf9e906 100644 --- a/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java @@ -575,9 +575,6 @@ public class PizzaUserSessionBean extends BasePizzaDatabaseBean implements UserS throw new EJBException(MessageFormat.format("User with id {0} does not exist.", user.getUserId())); //NOI18N } - // Remove contact instance as this is not updated - user.setUserContact(null); - // Find the instance User managedUser = this.getEntityManager().find(user.getClass(), user.getUserId()); -- 2.39.5