]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Tue, 17 Oct 2017 20:42:13 +0000 (22:42 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 15 Jul 2019 04:37:57 +0000 (06:37 +0200)
- renamed named query

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaEmployeeSessionBean.java

index 7452917ab133df05e8e4eeb2fe5ccbe1fdfee4ee..aaf4a576d8d65558d444aaf7fa595c94fcc1ccf6 100644 (file)
@@ -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<Employable> employees = query.getResultList();