From: Roland Haeder Date: Sun, 17 Apr 2016 15:28:59 +0000 (+0200) Subject: Change name for named query X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fd98a71e5f78a324c4fc77b9806445a6a158b1c5;p=pizzaservice-ejb.git Change name for named query Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java b/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java index 8d6ce07..3b71e22 100644 --- a/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java +++ b/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java @@ -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