]> git.mxchange.org Git - jjobs-ejb.git/log
jjobs-ejb.git
7 years agoPlease cherry-pick:
Roland Häder [Sun, 9 Jul 2017 10:46:02 +0000 (12:46 +0200)]
Please cherry-pick:
- renamed updatedUser -> managedUser, which is more accurate
- always set values in managed instances to have the JPA noticed it

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 9 Jul 2017 08:35:33 +0000 (10:35 +0200)]
Please cherry-pick:
- returned managed instance so the web controller (backing bean in your web
  application) can continue to use it (mostly fire an event)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sun, 9 Jul 2017 08:35:26 +0000 (10:35 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 8 Jul 2017 17:15:04 +0000 (19:15 +0200)]
Please cherry-pick:
- this message-driven bean has been moved to new project
- also the mailer's initialization and config properties

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agofixed JAR reference's paths (opps)
Roland Häder [Sat, 8 Jul 2017 18:02:24 +0000 (20:02 +0200)]
fixed JAR reference's paths (opps)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 8 Jul 2017 17:14:50 +0000 (19:14 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 8 Jul 2017 16:59:47 +0000 (18:59 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 7 Jul 2017 22:27:02 +0000 (00:27 +0200)]
Please cherry-pick:
- rewrote email delivery as EmailDeliveryWrapper() has now a constructor with all required fields
- also saved one parameter (one lesser = easier code)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Fri, 7 Jul 2017 22:17:16 +0000 (00:17 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 6 Jul 2017 21:56:04 +0000 (23:56 +0200)]
Please cherry-pick:
- 'login' is to generic, there are maybe other logins around than just for users only

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 6 Jul 2017 21:14:02 +0000 (23:14 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 6 Jul 2017 20:55:26 +0000 (22:55 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 6 Jul 2017 20:32:32 +0000 (22:32 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 6 Jul 2017 19:53:01 +0000 (21:53 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 6 Jul 2017 19:28:43 +0000 (21:28 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 6 Jul 2017 18:54:50 +0000 (20:54 +0200)]
Please cherry-pick:
- these entity hints were maybe wrong because a List<POJI> is being returned and
  not POJI alone.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Mon, 26 Jun 2017 22:21:47 +0000 (00:21 +0200)]
Please cherry-pick:
- checked for this.session as it is required, too

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Mon, 26 Jun 2017 22:17:58 +0000 (00:17 +0200)]
Don't cherry-pick:
- need to provide email queues for these EJBs as they will attempt to call
  sendEmail() which would then throw a NPE:

----------------------------
Caused by: java.lang.NullPointerException
        at org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean.sendEmail(BaseFinancialsDatabaseBean.java:555)
        at org.mxchange.jusercore.model.user.register.FinancialsUserRegistrationSessionBean.registerUser(FinancialsUserRegistrationSessionBean.java:208)
----------------------------

However, I will expand sendEmail() a bit to verify that the field session is
really there and not run in such ugly NPE.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Mon, 26 Jun 2017 21:50:28 +0000 (23:50 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoadded missing abstract EJB 'base' beans
Roland Häder [Mon, 26 Jun 2017 21:45:03 +0000 (23:45 +0200)]
added missing abstract EJB 'base' beans

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoRewrite continued:
Roland Häder [Mon, 26 Jun 2017 21:43:26 +0000 (23:43 +0200)]
Rewrite continued:
- Now all project-specific abstract web beans (controllers) inherit from BaseFacesBean to have these nice showFacesMessage() methods.
- Also all project-specific abstract EJBs inherit now only BaseDataBean (one was missing in an old project)
- So, if you have a WAR project, inherit from BaseFacesBean, if you have an EJB project, inherit from BaseDatabaseBean

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Mon, 26 Jun 2017 21:19:42 +0000 (23:19 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Mon, 26 Jun 2017 20:09:51 +0000 (22:09 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Mon, 26 Jun 2017 19:47:45 +0000 (21:47 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Mon, 26 Jun 2017 19:26:23 +0000 (21:26 +0200)]
Please cherry-pick:
- had moved copyAll() to new utility classes which is a much better place for
  them. Per EJB standards, no "complex" methods in POJOs/entity classes which
  makes sense. :-)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Mon, 26 Jun 2017 18:59:49 +0000 (20:59 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoit is an user-specific EJB name
Roland Häder [Sun, 25 Jun 2017 18:21:05 +0000 (20:21 +0200)]
it is an user-specific EJB name

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agofixed EJB name for email delivery beans
Roland Häder [Sat, 24 Jun 2017 21:41:21 +0000 (23:41 +0200)]
fixed EJB name for email delivery beans

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 23 Jun 2017 21:57:52 +0000 (23:57 +0200)]
Please cherry-pick:
- EJB name is now "userRegistration"

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated JNDI names
Roland Häder [Fri, 23 Jun 2017 21:50:11 +0000 (23:50 +0200)]
updated JNDI names

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Fri, 23 Jun 2017 21:49:32 +0000 (23:49 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Fri, 23 Jun 2017 20:32:01 +0000 (22:32 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 23 Jun 2017 18:23:39 +0000 (20:23 +0200)]
Please cherry-pick:
- rewrote to new copyAll() methods as having them in POJOs is no good idea
  anyway as you should keep those objects as simple as possible.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Fri, 23 Jun 2017 18:19:05 +0000 (20:19 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Thu, 22 Jun 2017 21:13:00 +0000 (23:13 +0200)]
Don't cherry-pick:
- moved EJBs to proper package as they are user-related beans
- handled over randomPassword parameter to sendEmail()
- or null if not possible/wanted
- changed jar-dependency jjobs-core.jar to project-dependency

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 22 Jun 2017 20:57:33 +0000 (22:57 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 10 Jun 2017 21:23:48 +0000 (23:23 +0200)]
Please cherry-pick:
- really have to call super(), else anything there, like logger bean, will not
  be initialized
- updated persistence unit

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 10 Jun 2017 20:47:50 +0000 (22:47 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 10 Jun 2017 19:59:04 +0000 (21:59 +0200)]
Please cherry-pick:
- gender -> personalData changed

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 10 Jun 2017 19:51:54 +0000 (21:51 +0200)]
Please cherry-pick:
- no gender, there is "personal title" for Mr./Mrs.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 10 Jun 2017 12:45:56 +0000 (14:45 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Fri, 9 Jun 2017 22:47:13 +0000 (00:47 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 8 Jun 2017 20:39:50 +0000 (22:39 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Wed, 7 Jun 2017 20:44:46 +0000 (22:44 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agomoved generic code to jcoreee
Roland Häder [Tue, 6 Jun 2017 20:58:10 +0000 (22:58 +0200)]
moved generic code to jcoreee

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Tue, 6 Jun 2017 20:44:02 +0000 (22:44 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued a bit:
Roland Häder [Sat, 3 Jun 2017 16:20:15 +0000 (18:20 +0200)]
Continued a bit:
- remote interface for resending confirmation link is now genweric in juser-lib
- updated method as checked exceptions are thrown
- updated copyright
- updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 27 Apr 2017 12:38:00 +0000 (14:38 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoported project to new libraries jaddressbook-share-core/lib
Roland Häder [Thu, 27 Apr 2017 12:30:22 +0000 (14:30 +0200)]
ported project to new libraries jaddressbook-share-core/lib

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Thu, 27 Apr 2017 12:28:29 +0000 (14:28 +0200)]
Don't cherry-pick:
- updated jar(s)
- added new dependency jaddressbook-share-* where needed

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 27 Apr 2017 11:17:04 +0000 (13:17 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Tue, 25 Apr 2017 11:38:25 +0000 (13:38 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Sat, 22 Apr 2017 19:38:37 +0000 (21:38 +0200)]
Continued:
- no need to double-include footer, was an old left-over
- 'session-scoped' is better wording

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agounencrypted ... better clear-text ...
Roland Häder [Thu, 20 Apr 2017 18:16:54 +0000 (20:16 +0200)]
unencrypted ... better clear-text ...

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 20 Apr 2017 00:17:20 +0000 (02:17 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 20 Apr 2017 00:12:57 +0000 (02:12 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Wed, 19 Apr 2017 23:03:42 +0000 (01:03 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Wed, 19 Apr 2017 22:23:13 +0000 (00:23 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Wed, 19 Apr 2017 19:17:15 +0000 (21:17 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years ago@TODO is better than only 'TODO'
Roland Häder [Wed, 19 Apr 2017 17:26:34 +0000 (19:26 +0200)]
@TODO is better than only 'TODO'

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agonope, 'src/' must be present, then the IDE (NetBeans at least) can find it
Roland Häder [Wed, 19 Apr 2017 16:40:28 +0000 (18:40 +0200)]
nope, 'src/' must be present, then the IDE (NetBeans at least) can find it

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoremoved navdata as it will be regenerated and ignored it as it always caused merge...
Roland Häder [Sun, 16 Apr 2017 09:52:09 +0000 (11:52 +0200)]
removed navdata as it will be regenerated and ignored it as it always caused merge conflicts

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated source references, how does '/src/' come in everywhere?
Roland Häder [Sat, 15 Apr 2017 22:05:33 +0000 (00:05 +0200)]
updated source references, how does '/src/' come in everywhere?

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 15 Apr 2017 19:29:33 +0000 (21:29 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Haeder [Thu, 13 Apr 2017 19:22:40 +0000 (21:22 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Haeder [Wed, 12 Apr 2017 22:34:20 +0000 (00:34 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoUpdatede jar(s) + fixed some names + fixed some imports
Roland Haeder [Mon, 10 Apr 2017 22:09:40 +0000 (00:09 +0200)]
Updatede jar(s) + fixed some names + fixed some imports

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated own name and resources
Roland Haeder [Mon, 10 Apr 2017 21:55:11 +0000 (23:55 +0200)]
updated own name and resources

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Haeder [Mon, 10 Apr 2017 21:00:43 +0000 (23:00 +0200)]
updated jar(s)

7 years agoupdated jar(s)
Roland Haeder [Mon, 10 Apr 2017 21:00:15 +0000 (23:00 +0200)]
updated jar(s)

7 years agoupdated jar(s)
Roland Haeder [Mon, 10 Apr 2017 20:13:26 +0000 (22:13 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agonaming convention has slightly changed
Roland Haeder [Mon, 10 Apr 2017 20:05:40 +0000 (22:05 +0200)]
naming convention has slightly changed

7 years agoupdated jar(s)
Roland Haeder [Mon, 10 Apr 2017 20:01:27 +0000 (22:01 +0200)]
updated jar(s)

7 years agoupdated jar(s)
Roland Haeder [Mon, 10 Apr 2017 18:03:26 +0000 (20:03 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Wed, 7 Sep 2016 15:44:58 +0000 (17:44 +0200)]
Please cherry-pick:
- fixed comment (minor)

7 years agoPlease cherry-pick:
Roland Häder [Tue, 6 Sep 2016 09:21:08 +0000 (11:21 +0200)]
Please cherry-pick:
- added API URL for javadoc

Signed-off-by: Roland Häder <roland@haeder.net>
8 years agoupdated jar(s)
Roland Haeder [Sat, 3 Sep 2016 12:17:42 +0000 (14:17 +0200)]
updated jar(s)

8 years agoadded missing property (please cherry-pick)
Roland Haeder [Fri, 2 Sep 2016 20:33:19 +0000 (22:33 +0200)]
added missing property (please cherry-pick)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Fri, 2 Sep 2016 20:21:05 +0000 (22:21 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoPlease cherry-pick:
Roland Häder [Fri, 2 Sep 2016 10:34:50 +0000 (12:34 +0200)]
Please cherry-pick:
- is already done by juser-activity-log

8 years agoupdated jar(s)
Roland Haeder [Thu, 1 Sep 2016 21:00:37 +0000 (23:00 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued a bit:
Roland Häder [Thu, 1 Sep 2016 15:34:20 +0000 (17:34 +0200)]
Continued a bit:
- close internal TODO as the user-actiity-log can be used for this
- for this making easily to work, 2 new business methods have been added
- fetchAllUsersActivityLogByType() for a single type per user
- fetchAllUsersActivityLogByMultipleType() for multiple types per user

8 years agoupdated jar(s)
Roland Haeder [Wed, 31 Aug 2016 20:22:27 +0000 (22:22 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoPlease cherry-pick:
Roland Häder [Wed, 31 Aug 2016 14:45:52 +0000 (16:45 +0200)]
Please cherry-pick:
- the user instance needs to be merged into current persience context, else some of its child entities will be persisted (inserted) again

8 years agoPlease cherry-pick:
Roland Häder [Wed, 31 Aug 2016 14:15:02 +0000 (16:15 +0200)]
Please cherry-pick:
- maybe use getManagedUser() ?

8 years agoPlease cherry-pick:
Roland Häder [Wed, 31 Aug 2016 13:32:16 +0000 (15:32 +0200)]
Please cherry-pick:
- renamed updatedUser -> managedUser
- better set all data in EJB to avoid managedUser become detached (as the scope is not EJB anymore)

8 years agoPlease cherry-pick:
Roland Häder [Tue, 30 Aug 2016 10:32:32 +0000 (12:32 +0200)]
Please cherry-pick:
- test on template variables add, can be none set, but should not be null

8 years agoPlease cherry-pick:
Roland Häder [Tue, 30 Aug 2016 10:22:13 +0000 (12:22 +0200)]
Please cherry-pick:
- unsetting contact is no longer needed, make it managed and then it should be fine ... :-)

8 years agoPlease cherry-pick:
Roland Häder [Tue, 30 Aug 2016 10:09:56 +0000 (12:09 +0200)]
Please cherry-pick:
- more tests added on user instance (may prevent message-less NPE somewhere else which is harder to debug)

Signed-off-by: Roland Häder <roland@haeder.net>
8 years agoupdated jar(s)
Roland Haeder [Tue, 30 Aug 2016 17:45:57 +0000 (19:45 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Mon, 29 Aug 2016 19:33:18 +0000 (21:33 +0200)]
updated jar(s)

8 years agoPlease cherry-pick:
Roland Häder [Mon, 29 Aug 2016 15:51:00 +0000 (17:51 +0200)]
Please cherry-pick:
- added base URL parameter + email delivery

8 years agoPlease cherry-pick:
Roland Häder [Mon, 29 Aug 2016 11:00:58 +0000 (13:00 +0200)]
Please cherry-pick:
- opps, remove()

8 years agoPlease cherry-pick:
Roland Häder [Mon, 29 Aug 2016 10:49:11 +0000 (12:49 +0200)]
Please cherry-pick:
- wrong bait, wrong fish, wrong test ...

8 years agoPlease cherry-pick:
Roland Häder [Mon, 29 Aug 2016 10:22:00 +0000 (12:22 +0200)]
Please cherry-pick:
- implemented business method for deleting user accounts

8 years agoupdated jar(s)
Roland Haeder [Sun, 28 Aug 2016 18:57:46 +0000 (20:57 +0200)]
updated jar(s)

8 years agoPlease cherry-pick:
Roland Häder [Fri, 26 Aug 2016 15:08:26 +0000 (17:08 +0200)]
Please cherry-pick:
- renamed variables as they hold a JPA-managed entity

8 years agoPlease cherry-pick:
Roland Häder [Thu, 25 Aug 2016 13:54:23 +0000 (15:54 +0200)]
Please cherry-pick:
- made user instance managed which causes not persisting it all over again
- renamed variable

8 years agoPlease cherry-pick:
Roland Häder [Thu, 25 Aug 2016 13:40:13 +0000 (15:40 +0200)]
Please cherry-pick:
- closed internal TODO: update new confirmation key in database + user instance

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoPlease cherry-pick:
Roland Häder [Thu, 25 Aug 2016 12:23:11 +0000 (14:23 +0200)]
Please cherry-pick:
- first the user instance must become managed, then persist log entry ...
- better check for Long, and not != null test (very lazy)

Signed-off-by: Roland Häder <roland@mxchange.org>