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;
throw new EmailAddressAlreadyRegisteredException(user);
}
+ // Set created timestamp
+ user.setUserCreated(new GregorianCalendar());
+ user.getUserContact().setContactCreated(new GregorianCalendar());
+
// Persist it
this.getEntityManager().persist(user);