]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Mon, 29 Aug 2016 11:00:58 +0000 (13:00 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 29 Aug 2016 17:28:26 +0000 (19:28 +0200)
- opps, remove()

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

index 5fb5923f3bb01b0b62bea7873278bb9afe12c24b..937fea9050b1daebb50eb94273a9ad6a84058fe5 100644 (file)
@@ -148,7 +148,7 @@ public class PizzaAdminUserSessionBean extends BasePizzaDatabaseBean implements
                assert (managedUser instanceof User) : MessageFormat.format("User with id {0} not found, but should be.", user.getUserId()); //NOI18N
 
                // Delete it
-               this.getEntityManager().refresh(managedUser);
+               this.getEntityManager().remove(managedUser);
 
                // Trace message
                this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.deleteUser: EXIT!", this.getClass().getSimpleName())); //NOI18N