From: Roland Häder Date: Wed, 18 May 2016 09:43:12 +0000 (+0200) Subject: renamed to better name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ae58dde14e326d68460cb632a6f4cf030799f2ef;p=pizzaservice-mailer-ejb.git renamed to better name --- diff --git a/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java index 91c0156..eb0d961 100644 --- a/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java @@ -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 {