]> git.mxchange.org Git - jjobs-ejb.git/commitdiff
Opps wrong name for named query
authorRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 17:54:15 +0000 (19:54 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 17:54:15 +0000 (19:54 +0200)
src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java

index 28aae3b69bb3bd3346f6ecfce16fb237b8770c44..defb3efc49491ff707cd5f5a6b6f67fbef32a288 100644 (file)
@@ -105,7 +105,7 @@ public class JobsUserSessionBean extends BaseDatabaseBean implements UserSession
                this.getLoggerBeanLocal().logTrace("allUsers: CALLED!"); //NOI18N
 
                // Get named query
-               Query query = this.getEntityManager().createNamedQuery("allUsers", List.class); //NOI18N
+               Query query = this.getEntityManager().createNamedQuery("AllUsers", List.class); //NOI18N
 
                // Get result
                List<User> users = query.getResultList();