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=d3b6172908fc40ce9d8d560f17e7e660fb0c8ceb;p=jjobs-ejb.git Change name for named query Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jcontacts/contact/JobsContactSessionBean.java b/src/java/org/mxchange/jcontacts/contact/JobsContactSessionBean.java index 029ac1d..7d8048a 100644 --- a/src/java/org/mxchange/jcontacts/contact/JobsContactSessionBean.java +++ b/src/java/org/mxchange/jcontacts/contact/JobsContactSessionBean.java @@ -54,7 +54,7 @@ public class JobsContactSessionBean extends BaseDatabaseBean implements ContactS } // 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