]> git.mxchange.org Git - addressbook-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>
Sat, 1 Feb 2020 03:16:00 +0000 (04:16 +0100)
- renamed named query

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

index 0c102b33b06c0b2cbffc112f4b85e2a4e7036474..503b7750448eae380ac05b5e96e7a2aba2acb4c6 100644 (file)
@@ -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<Employable> employees = query.getResultList();