]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
Change name for named query
authorRoland Haeder <roland@mxchange.org>
Sun, 17 Apr 2016 15:28:59 +0000 (17:28 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 17 Apr 2016 15:29:24 +0000 (17:29 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java

index 8d6ce0739a21c12ed473e025a615d0741dde72ca..3b71e22c3eaa8f3c625006cd5b1bea7dcb409d95 100644 (file)
@@ -57,7 +57,7 @@ public class PizzaContactSessionBean extends BaseDatabaseBean implements Contact
                }
 
                // Get query instance
-               Query query = this.getEntityManager().createNamedQuery("SearchContactId", UserContact.class); //NOI18N
+               Query query = this.getEntityManager().createNamedQuery("SearchContactById", UserContact.class); //NOI18N
 
                // Set parameter
                query.setParameter("contactId", contactId); //NOI18N