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=861eafa9f8d57ed6b5d6d04e04f426ab93a1cd8e;p=pizzaservice-ejb.git Please cherry-pick: - renamed named query Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaEmployeeSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaEmployeeSessionBean.java index 7452917..aaf4a57 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaEmployeeSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaEmployeeSessionBean.java @@ -53,7 +53,7 @@ public class PizzaEmployeeSessionBean extends BasePizzaEnterpriseBean implements 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();