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=5e6c68db25d5f433077f7830c4de3fe874c19d65;p=jfinancials-ejb.git Please cherry-pick: - renamed named query Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jcontactsbusiness/model/employee/FinancialsEmployeeSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/employee/FinancialsEmployeeSessionBean.java index 94df3ae..c2135ee 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/employee/FinancialsEmployeeSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/employee/FinancialsEmployeeSessionBean.java @@ -49,7 +49,7 @@ public class FinancialsEmployeeSessionBean extends BaseFinancialsDatabaseBean im 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();