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

index ff85eb7a26ad7633a693ebbe6f8b55f847c7e3e3..553660e135b5d248b26098ba7885b988227f7831 100644 (file)
@@ -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