]> git.mxchange.org Git - pizzaservice-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:51:59 +0000 (21:51 +0200)
- unsetting contact is no longer needed, make it managed and then it should be fine ... :-)

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

index 6e8ab60edfe023556022711ea14bb4e5f1eb7ad3..cf9e90639c3ba16b2724db393199abb278d95a13 100644 (file)
@@ -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());