]> git.mxchange.org Git - jjobs-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:34 +0000 (19:28 +0200)
- opps, remove()

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

index dd94cb0d7a2d042ff81a7f43bb28a600332425e5..4cbf2d5e59ca06c3f21417f8f17623fff2ba0fc6 100644 (file)
@@ -148,7 +148,7 @@ public class JobsAdminUserSessionBean extends BaseJobsDatabaseBean implements Ad
                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