]> git.mxchange.org Git - jjobs-ejb.git/commitdiff
Continued a bit:
authorRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 16:12:44 +0000 (18:12 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 17:13:05 +0000 (19:13 +0200)
- added registration timestamp for user and contact instance
- updated jar(s)

lib/jcontacts-core.jar
lib/jphone-core.jar
lib/juser-lib.jar
src/java/org/mxchange/jusercore/model/register/JobsUserRegistrationSessionBean.java

index b94b468717c61b0b3d1b03d19f855d1a15815723..356a84c0658c6bd20121144e4a1e4f16f3c3fec7 100644 (file)
Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ
index 1965d51a2b082c0fb97c3f91e876bba202c0e669..f3842ac699566b448d005be0eb2aee5a71843015 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index 77cab45e3082066efa5f263ffdf793bd6955770a..cbd7958788d091e1111c8c9055a045ead16c8bc5 100644 (file)
Binary files a/lib/juser-lib.jar and b/lib/juser-lib.jar differ
index e20abb9946b359a45f85785e43fb833a5c305480..07c14f82c2383c5e639ebd1ebe51163fda348317 100644 (file)
@@ -17,6 +17,7 @@
 package org.mxchange.jusercore.model.register;
 
 import java.text.MessageFormat;
+import java.util.GregorianCalendar;
 import javax.ejb.EJB;
 import javax.ejb.Stateless;
 import org.mxchange.jcoreee.database.BaseDatabaseBean;
@@ -100,6 +101,10 @@ public class JobsUserRegistrationSessionBean extends BaseDatabaseBean implements
                        throw new EmailAddressAlreadyRegisteredException(user);
                }
 
+               // Set created timestamp
+               user.setUserCreated(new GregorianCalendar());
+               user.getUserContact().setContactCreated(new GregorianCalendar());
+
                // Persist it
                this.getEntityManager().persist(user);