]> git.mxchange.org Git - jjobs-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:55 +0000 (17:29 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jcontacts/contact/JobsContactSessionBean.java

index 029ac1d52af77ba8625b062aeb38d94a0c746d4c..7d8048a2ebd513d3f4a77438e0e5440f59cbfced 100644 (file)
@@ -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