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=b13872a649b83ee2e0cbe25a3cd62c4729ee937c;p=jjobs-ejb.git Please cherry-pick: - renamed named query Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jcontactsbusiness/model/employee/JobsCompanyEmployeeSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/employee/JobsCompanyEmployeeSessionBean.java index 5f66346..14242f1 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/employee/JobsCompanyEmployeeSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/employee/JobsCompanyEmployeeSessionBean.java @@ -50,7 +50,7 @@ public class JobsCompanyEmployeeSessionBean extends BaseJobsDatabaseBean impleme 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();