From d3b6172908fc40ce9d8d560f17e7e660fb0c8ceb Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 17 Apr 2016 17:28:59 +0200 Subject: [PATCH] Change name for named query MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../org/mxchange/jcontacts/contact/JobsContactSessionBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5