]> git.mxchange.org Git - jjobs-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>
Fri, 19 Jul 2019 21:55:06 +0000 (23:55 +0200)
- renamed named query

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

index 5f6634619823045401c3297ebab74f23d2e1c746..14242f16bbaa43f254106e705cceaf8a60ece91b 100644 (file)
@@ -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<Employable> employees = query.getResultList();