From: Roland Häder Date: Tue, 30 Aug 2016 10:22:13 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6b19e640556977b35a9d564bd1f83a276a9da67f;p=jjobs-ejb.git Please cherry-pick: - unsetting contact is no longer needed, make it managed and then it should be fine ... :-) --- diff --git a/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java index 3722eb2..9cb2a0a 100644 --- a/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java @@ -575,9 +575,6 @@ public class JobsUserSessionBean extends BaseJobsDatabaseBean implements UserSes 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());