]> git.mxchange.org Git - jfinancials-ejb.git/commitdiff
renamed to better name
authorRoland Häder <roland@mxchange.org>
Wed, 18 May 2016 09:43:12 +0000 (11:43 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 21 May 2016 11:55:02 +0000 (13:55 +0200)
src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java

index 91c0156267aad6d0f752514a18e70306005dc863..eb0d961662f0d879e60458175f5b877f7e83bc8f 100644 (file)
@@ -186,7 +186,7 @@ public class AddressbookUserSessionBean extends BaseAddressbookDatabaseBean impl
                Query query = this.getEntityManager().createNamedQuery("SearchUserByName", LoginUser.class); //NOI18N
 
                // Set parameter
-               query.setParameter("param", user.getUserName()); //NOI18N
+               query.setParameter("userName", user.getUserName()); //NOI18N
 
                // Initialize variable
                User foundUser = null;
@@ -405,7 +405,7 @@ public class AddressbookUserSessionBean extends BaseAddressbookDatabaseBean impl
                Query query = this.getEntityManager().createNamedQuery("SearchUserByName", LoginUser.class); //NOI18N
 
                // Set parameter
-               query.setParameter("param", userName); //NOI18N
+               query.setParameter("userName", userName); //NOI18N
 
                // Try this
                try {
@@ -443,7 +443,7 @@ public class AddressbookUserSessionBean extends BaseAddressbookDatabaseBean impl
                Query query = this.getEntityManager().createNamedQuery("SearchUserByEmailAddress", LoginUser.class); //NOI18N
 
                // Set parameter
-               query.setParameter("param", user.getUserContact().getContactEmailAddress()); //NOI18N
+               query.setParameter("emailAddress", user.getUserContact().getContactEmailAddress()); //NOI18N
 
                // Search for it
                try {
@@ -484,7 +484,7 @@ public class AddressbookUserSessionBean extends BaseAddressbookDatabaseBean impl
                Query query = this.getEntityManager().createNamedQuery("SearchUserByName", LoginUser.class); //NOI18N
 
                // Set parameter
-               query.setParameter("param", user.getUserName()); //NOI18N
+               query.setParameter("userName", user.getUserName()); //NOI18N
 
                // Try this
                try {