From: Roland Häder Date: Tue, 17 Oct 2017 20:42:13 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=54ed40f96d5ffd8c6d5516f2993ca8b957a391d5;p=addressbook-ejb.git Please cherry-pick: - renamed named query Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookEmployeeSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookEmployeeSessionBean.java index 0c102b3..503b775 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookEmployeeSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookEmployeeSessionBean.java @@ -49,7 +49,7 @@ public class AddressbookEmployeeSessionBean extends BaseAddressbookDatabaseBean this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.allEmployees(): CALLED!", this.getClass().getSimpleName())); //NOI18N // Get named query - final Query query = this.getEntityManager().createNamedQuery("AllCompanyEmployees"); //NOI18N + final Query query = this.getEntityManager().createNamedQuery("AllEmployees"); //NOI18N // Get list form it final List employees = query.getResultList();