]> git.mxchange.org Git - jjobs-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Tue, 30 Aug 2016 10:22:13 +0000 (12:22 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 31 Aug 2016 19:56:01 +0000 (21:56 +0200)
- unsetting contact is no longer needed, make it managed and then it should be fine ... :-)

src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java

index 3722eb2a60e053069031b5a706c2847046d48d7a..9cb2a0ab012f5b66de5914994ffd515b06a985f5 100644 (file)
@@ -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());