]> git.mxchange.org Git - jjobs-ejb.git/commitdiff
Oooops, returned non-updated object ... :-/
authorRoland Häder <roland@mxchange.org>
Mon, 2 May 2016 15:53:05 +0000 (17:53 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 2 May 2016 20:24:57 +0000 (22:24 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jusercore/model/register/JobsUserRegistrationSessionBean.java
src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java

index 6d86e5b0e3d18bab2e1b402125303111a0934f6c..c0472a0e8fd3e37631ac000d270962b5859092d8 100644 (file)
@@ -107,6 +107,6 @@ public class JobsUserRegistrationSessionBean extends BaseJobsDatabaseBean implem
                this.getLoggerBeanLocal().logTrace(MessageFormat.format("registerUser: addedUser={0},addedUser.userIdd={1} - EXIT!", addedUser, addedUser.getUserId())); //NOI18N
 
                // Return it
-               return user;
+               return addedUser;
        }
 }
index cb5be793ad8441099bbeb4f99072f694dc4a9b8b..2291db86608db72fa93c23a2f1af35599c2387da 100644 (file)
@@ -25,7 +25,6 @@ import javax.ejb.Stateless;
 import javax.persistence.NoResultException;
 import javax.persistence.PersistenceException;
 import javax.persistence.Query;
-import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean;
 import org.mxchange.jcontacts.contact.Contact;
 import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
 import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;