From 6de43a194b2d99de0ce46dfef01228900598576f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 29 Aug 2016 13:00:58 +0200 Subject: [PATCH] Please cherry-pick: - opps, remove() --- .../mxchange/jusercore/model/user/JobsAdminUserSessionBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/mxchange/jusercore/model/user/JobsAdminUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/JobsAdminUserSessionBean.java index dd94cb0..4cbf2d5 100644 --- a/src/java/org/mxchange/jusercore/model/user/JobsAdminUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/JobsAdminUserSessionBean.java @@ -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 -- 2.39.5