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=191d2a07f0aaf57ccf2a7dbffa7f8c3a6f780443;p=addressbook-ejb.git Change name for named query Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jcontacts/contact/AddressbookContactSessionBean.java b/src/java/org/mxchange/jcontacts/contact/AddressbookContactSessionBean.java index ff85eb7..553660e 100644 --- a/src/java/org/mxchange/jcontacts/contact/AddressbookContactSessionBean.java +++ b/src/java/org/mxchange/jcontacts/contact/AddressbookContactSessionBean.java @@ -54,7 +54,7 @@ public class AddressbookContactSessionBean extends BaseDatabaseBean implements C } // 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