]> git.mxchange.org Git - jcontacts-core.git/commitdiff
needs to be renamed as well ...
authorRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 10:05:00 +0000 (12:05 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 10:05:00 +0000 (12:05 +0200)
src/org/mxchange/jcontacts/contact/UserContact.java

index b3f66a081bf0ad66a15b0991d12fe776d989d749..4286accc1bf8c502dd1d0da3211146a198374cb8 100644 (file)
@@ -68,7 +68,7 @@ import org.mxchange.jphone.phonenumbers.mobile.MobileNumber;
                {
                        @NamedQuery (name = "AllContacts", query = "SELECT c FROM contacts AS c ORDER BY c.contactId ASC"),
                        @NamedQuery (name = "AllContactEmailAddresses", query = "SELECT c.contactEmailAddress FROM contacts AS c ORDER BY c.contactId ASC"),
-                       @NamedQuery (name = "AllContactsByCellphone", query = "SELECT c FROM contacts AS c WHERE c.contactCellphoneNumber = :cellPhone ORDER BY c.contactId ASC"),
+                       @NamedQuery (name = "AllContactsByCellphone", query = "SELECT c FROM contacts AS c WHERE c.contactMobileNumber = :mobileNumber ORDER BY c.contactId ASC"),
                        @NamedQuery (name = "SearchContactById", query = "SELECT c FROM contacts AS c WHERE c.contactId = :contactId"),
                        @NamedQuery (name = "SearchContactByEmailAddress", query = "SELECT c FROM contacts AS c WHERE LOWER(c.contactEmailAddress) LIKE LOWER(:emailAddress)")
                }