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

index ac39ca111ff5f85d40cf8c83afab281d06117871..ca8f7dbfa09098c28a192884358000210acb4394 100644 (file)
@@ -105,7 +105,7 @@ public class AddressbookUserSessionBean extends BaseDatabaseBean implements User
                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();